RE: httpd.conf question - virtual server- firewall port forwarding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 < vizion@xxxxxxxxxxxxxxxxxxxx > wrote:
From: Vizion [mailto: vizion@xxxxxxxxxxxxxxxxxxxx]
To: users@xxxxxxxxxxxxxxxx
Date: Wed, 28 Mar 2007 10:06:53 -0700
Subject:  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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux