httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ismael Milach <mil...@gmail.com>
Subject [users@httpd] Virtualhost + Appliance
Date Fri, 09 Dec 2005 14:06:01 GMT
Hey guys, what's up....

 I've made some changes in my network yesterday to put an Appliance
 (VPN router, etc.) between the Wan and my Linux box (with Bind,
 apache, postfix, etc.).

 So now my server has only a local network interface and everything
 sent to It is forwarded by the Appliance and vice-versa.

 To make things shorter, everything is working fine, the only problem I
 have is w/ virtualhosts.

 Here's part of the config:
 Appliance wan Interface: 210.210.210.210
 Appliance LAN interface: 192.168.0.17
 server IP: 192.168.0.254
server gateway: 192.168.0.17

 httpd.conf:
 NameVirtualHost 210.210.210.210:80 (i've tried to switch it to the
 server's local IP with no luck)

 <VirtualHost intranet.mydomain.com>
 DocumentRoot /var/www/intranet
 ServerName intranet.mydomain.com
 </VirtualHost>

 other vhosts follow the same model.

 DNS config:
 servername IN A 210.210.210.210
 intranet IN CNAME servername

I'm able to ping normally.

 They're bypassing the vhost directive and going to the apache root
 instead of their own's.

 Any help would be appreciated.

 TYA,
 Ismael

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message