httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Can ProxyPass/Rewrite add a Host header?
Date Wed, 14 May 2003 00:10:28 GMT



On Tue, 13 May 2003, Garth Winter Webb wrote:
> What I'd like to do is set up a proxy server on a separate machine that
> will proxy pass to 1.2.3.4 so that I can get everything working properly
> on their servers and then flip the DNS switch.  However since they seem
> to do name base virtual hosting, I also need to pass along the Host
> header to let it know what domain I intend to access with 1.2.3.4.

In 2.0 you have ProxyPreserveHost:
http://httpd.apache.org/docs-2.0/mod/mod_proxy.html#proxypreservehost

In 1.3 you might by able to mess with the DNS resolution on your proxy to
make it believe that the origin has a different name than its real name.

Joshua.

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