David,

I'm far from an expert on Apache web server but I think you can't do what 
you're trying to do.

If your server is on a private network behind a router (which it must be) the 
rest of the world will not see the 192.168.x.x IP #s, only the IP # of the 
router.

I think you will have to use name-based virtual hosts.

Bruce

 --- On Wed 03/28, Vizion < [EMAIL PROTECTED] > wrote:
From: Vizion [mailto: [EMAIL PROTECTED]
To: users@httpd.apache.org
Date: Wed, 28 Mar 2007 10:06:53 -0700
Subject: [EMAIL PROTECTED] httpd.conf question - virtual server- firewall port 
forwarding

I am setting up an apache2.2 server on freebsd with a number of virtual hosts.

The server is behind a firewall which has the IP address to which each virtual 
host is pointed by DNS with port 80 forwarding to the server. The server is on 
a private network (192.168.0.0) behind the firewall.

I have never used this arrangement before and cannot get the virtual servers 
functioning properly.

httpd.conf includes the lines:
Include etc/apache22/Includes/*.conf
the virtual servers have entries in the form of:

<Virtual host 192.168.x.x>
DocumentRoot /absolute/path/to/root
Servername   www.mydomain.tld
AcceptPathInfo
</VirtualHost>

<Directory /absolute/path/to/root>
order allow, deny
allow from all
</Directory>

Can anyone point me to a resource that can maybe help me identify what I am 
doing wrong. I have not had to use this arangement before.. so I am doubtless 
making a silly mistake somewhere.
\
Thanks in advance
david

_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to