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] Redirect syntax
Date Wed, 13 Aug 2003 17:08:04 GMT

On Wed, 13 Aug 2003, Chad Thompson wrote:
> Just as I sent the previous message I realized what you were doing w/ the
> RewriteRule.  The problem there is that my IIS box requires the header
> information to be able to determine the website.  And a rewrite gives the
> default page instead of the proper page.
>
> How can I format a rewrite rule to proxy to another box, but still have the
> headers in place so IIS can serve the proper page?

I assume that you mean you want to lie to IIS by using the same Host:
header on the proxy request that was used on the original request.  If so,
see ProxyPreserveHost:
http://httpd.apache.org/docs-2.0/mod/mod_proxy.html#proxypreservehost
(available only in apache 2).

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