httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Porter, Mark" <Mark.Por...@LibertyMutual.com>
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>
ServerName server.domain.com:81
.
.
</VirtualHost>

<VirtualHost _default_:82>
ServerName server.domain.com:82
.
.
</VirtualHost>

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 site.domain.com:81, when it should be site.domain.com:82.

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?


Mark

---------------------------------------------------------------------
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