From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 11:27:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74CB716A4C1 for ; Thu, 23 Oct 2003 11:27:48 -0700 (PDT) Received: from ns2.uk.circle.com (ns0.uk.circle.com [213.249.210.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C12543F3F for ; Thu, 23 Oct 2003 11:27:45 -0700 (PDT) (envelope-from Vince.Hoffman@uk.circle.com) Received: from mime-bristol.uk.circle.com (mime-bristol.uk.circle.com [213.249.210.50]) by ns2.uk.circle.com (8.12.9/8.12.9) with ESMTP id h9NIPOAH019237 for ; Thu, 23 Oct 2003 19:25:25 +0100 (BST) (envelope-from Vince.Hoffman@uk.circle.com) Received: from goats.uk.circle.com (unverified) by mime-bristol.uk.circle.com ; Thu, 23 Oct 2003 19:28:58 +0100 Received: by GOATS with Internet Mail Service (5.5.2650.21) id ; Thu, 23 Oct 2003 19:27:37 +0100 Message-ID: From: Vince Hoffman To: "'dhull'" , Vince Hoffman Date: Thu, 23 Oct 2003 19:27:34 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" cc: freebsd-questions@freebsd.org Subject: RE: RE: Running apache twice on the same system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 18:27:48 -0000 too many variables to be able to give a definite answer but, 1) do other services (telnet/ftp/ssh/whatever) work on both IPs. 2) whats the output of grep ^Listen /path/to/httpd.conf (changing /path/to/ appropriately) (should just be Listen 80 ) 3) whats the output of sockstat |grep httpd should be something like www httpd 1841 3 tcp46 *:80 *:* www httpd 1837 3 tcp46 *:80 *:* www httpd 1836 3 tcp46 *:80 *:* www httpd 1835 3 tcp46 *:80 *:* www httpd 1818 3 tcp46 *:80 *:* I have it a similar setup and can access mine fine on both IPs. -----Original Message----- From: dhull [mailto:dhull@digitaloverload.net] Sent: 23 October 2003 18:56 To: Vince Hoffman Cc: freebsd-questions@freebsd.org Subject: Re: RE: Running apache twice on the same system Here is my setup 1. the system has two network cards in it 2. One is connected on the outside of the network and the other is inside 3. I can get to the website on the inside IP address but not the outside Here is what I want 1. Have a website on the inside of the network 2. Have a website on the outside of the network 3. Hosted on the same system For some reasion apache doesn't want to listen on the other network card. Any ideas?? -------Original Message------- > From: Vince Hoffman > Subject: RE: Running apache twice on the same system > Sent: Oct 23 2003 17:50:25 > > You shouldnt need to run it twice, use virtual host > directives to make one virtual host listen to one > IP and the other to the other. > > all in the apache docs. > http://httpd.apache.org/docs-2.0/vhosts/ip-based.html for version 2. > > otherwise create different conf files and point your apache > executable at one then the other. > > > -----Original Message----- > > From: dhull [mailto:dhull@digitaloverload.net] > > Sent: 23 October 2003 18:39 > > To: freebsd-questions@freebsd.org > > Subject: Running apache twice on the same system > > > > > > How do I get apache to run twice on the same system? > > > > I want them to listen to different IP addresses. > > -------Original Message-------