Whenever possible I try to avoid modifying the URL path when reverse proxying.
Then mod_proxy_html is not needed and you save some CPU cycles.
<Location /flickr>
ProxyPass http://www.flickr.com/flickr
ProxyPassReverse http://www.flickr.com/flickr
</Location>
-ascs
________________________________
De : proteus guy [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 28 septembre 2007 21:50
À : [email protected]
Objet : Re: [EMAIL PROTECTED] ProxyPassReverse not working as documented???
(Apache 2.2)
Thanx Joshua,
I do have the mod_proxy_html going now and it works as expected. You're
right about "not rewriting URL references inside html" as being pretty
categorical - but we tend to see what we want to see and that following
sentence implied just what I was looking for so I was perfectly capable of
ignoring the prior inconvenient bit. :)
-- Ben
On 9/29/07, Joshua Slive <[EMAIL PROTECTED]> wrote:
Ok. Sorry for my slightly snarky response. But your problem is in the
interpretation of the term "relative URL". This is referring to URLs
that don't start with a slash, rather than URLs that don't start with
a hostname and scheme. And anyway, the sentence just before this says
"nor will it rewrite URL references inside HTML pages", which is
pretty clear and categorical in itself.
---------------------------------------------------------------------
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] <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
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]