Hi
I have an apache server serving content from behind a simple firewall. I
would like to allow a certain w2k IIS server to serve some content as
well.
For various technical reasons I would like to avoid using port forwarding,
and use mod_procxy, or something similar.
I have added the following to my http.conf:
ProxyRequests On
#
<Directory proxy:*>
Order deny,allow
Deny from all
# to be changed to 'all' later
Allow from [my.network]
# Allow from all
</Directory>
ProxyPass /subdir/ http://w2k_server/
ProxyPassReverse /subdir/ http://w2k_server/
When I get a url of /subdir/something from my server, I get the page of
/something from w2k_server. However, in the page I get, I get the header
Content-Location: http://w2k_server/something
I can't allow such a thing, because there is no direct external access to
that URL.
Isn't mod_proxy supposed to rewrite those headers?
I found no mention of the fact that it doesn't on its documentation. I saw
an old post that mentions a similar problem (but refers to apache 1.2.4).
Any idea how to tell mod_proxy to rewrite this, or how to rewrite this
header myself?
Thanks
--
Tzafrir Cohen /"\
mailto:[EMAIL PROTECTED] \ / ASCII Ribbon Campaign
Taub 229, 972-4-829-3942, X Against HTML Mail
http://www.technion.ac.il/~tzafrir / \
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]