See the ProxyPassReverse directive, whose job it is to correct
trailing-slash redirects.
(Hint: You don't even need RewriteRule for this. ProxyPass will do fine.)
Joshua.
Hey Joshua,
For kicks I tried ProxyPass (I really have no idea what I'm doing) using
the following:
proxyrequests off
ProxyPass /foobarfoobar http://localhost:81/
and it worked perfectly. At first I tried:
ProxyPass / http://localhost:81/
which resulted in:
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /cota/index.cfm.
Reason: Max-Forwards has reached zero - proxy loop?
So, then I tried:
ProxyPass /cota http://localhost:81/
but then I couldn't access the folder /cota; I didn't even see it in the
webroot folder listing. So, then I tried the following:
ProxyPass /foobarfoobar http://localhost:81/
and it works great! I tried /foobarfoobar because I noticed when I had
/cota, everything except for /cota worked fine. Is there a cleaner way
to use this mod? If not, I'm still a very happy camper!!
Thanks,
Mike
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]