httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Porter, Mark" <>
Subject [users@httpd] Port-based vhosts
Date Thu, 30 Dec 2004 20:11:02 GMT
2.0.47 on Solaris

I have two vhosts defined:

Listen 81
Listen 82

<VirtualHost _default_:81>

<VirtualHost _default_:82>

The problem is that there's a bug in IE, where if it gets redirected from the :81 vhost to
the :82 vhost (302 and a Location header), the browser's first request to the :82 vhost has
the http_host header set incorrectly to, when it should be

My question is:

How does Apache decide which virtual host config should handle the request with the bad http_host
header? Does it look at the header, like a NameVirtualHost vhost does - in which case it will
go to the wrong vhost, or does it look at the socket that was used to bring in the transaction?


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