RE: RE: Running apache twice on the same system

2003-10-23 Thread Vince Hoffman
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 18413 tcp46  *:80  *:*

www  httpd 18373 tcp46  *:80  *:*

www  httpd 18363 tcp46  *:80  *:*

www  httpd 18353 tcp46  *:80  *:*

www  httpd 18183 tcp46  *:80  *:*

I have it a similar setup and can access mine fine on both IPs.


 -Original Message-
From: dhull [mailto:[EMAIL PROTECTED]
Sent: 23 October 2003 18:56
To: Vince Hoffman
Cc: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]> 
> 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:[EMAIL PROTECTED] 
> > Sent: 23 October 2003 18:39 
> > To: [EMAIL PROTECTED] 
> > 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--- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RE: Running apache twice on the same system

2003-10-23 Thread dhull
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 <[EMAIL PROTECTED]>
   > 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:[EMAIL PROTECTED]
   >  > Sent: 23 October 2003 18:39
   >  > To: [EMAIL PROTECTED]
   >  > 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---


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"