httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Sean Conner)
Subject Re: [users@httpd] virtual servers problem
Date Sat, 06 Aug 2005 22:54:55 GMT
It was thus said that the Great Grzegorz Jankowski once stated:
> Hi, I think I have quite sofisticated problem with virtual servers on
> my apache ( 1.3.26 ). It's standig on Linux box ( 2.4.x ).
> Everything was qiute fine ( about 10 virtual servers with separate
> content, DNS defined of course correctly ) till I moved to another 
> location and now my Linux box is standing behind hardware firewall
> ( Linksys WRT54G )-that has static & routable IP. I have 192.168.x.y but
> I have some ports ( 22, 25, 80, 110 ) forwarded 
> and all the serwices ( ssh, smtp, pop3 ) work fine in bi-directional
> way ( i can acces my host through this static ip, all the mails arrive 
> in proper way - through the MX in DNS .... )

  I assume that the DNS entries for the various websites have also been
updated, so what is now pointing to your hardware firewall's
public IP address.  

> I thaught that I understand TCP/IP but I do not know what's wrong - 
> all the virtuals stoped working at all. Only the main content ( pointed
> by "DocumentRoot" in srm.conf ) can be accesed. All the virtuals ( DNS is 
> changed of course for all the virtuals, I tested as a CNAME and A records)
> display only the main content - no mater what I type - only one site 
> content occures.

  Did you change the NameVirtualHost directive to have the IP address of
your webserver (192.168.x.y)?  Also, how are your VirtualHosts defined? 



	<VirtualHost A.B.C.D>	(where A.B.C.D is an IP address)

  The easiest thing is to change the VirtualHost directive to

	<VirtualHost 192.168.x.y>

  And see if that works.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message