On 9/28/07, proteus guy <proteusguy@xxxxxxxxx> wrote: > I simply cannot get a reverse proxy operational with mod_proxy on my Fedora > Core 6 setup (Apache 2.2). For example, if I want to proxy flickr.com (just > an example) from as http://mysite.org/flickr I should be able to do the > following according to the docs ( > http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#examples > ): > > In my http.conf for mysite.org: > <Location /flickr> > ProxyPass http://www.flickr.com > ProxyPassReverse http://www.flickr.com > </Location> > > This works initially. Going to http://mysite.org/flickr sure enough gives me > the flickr main page (understand images and stuff are hosted elsewhere so > they're coming direct and not via the proxy but that's ok for our example). > But move your mouse over links like "Sign In" and other relative links and > they show as http://mysite.org/signin instead of the (required) > http://mysite.org/flickr/signin . I understand that links in the page that > start with the protocol will not be re-written but that's not my problem. > ProxyPassReverse is missing that extremely important /flickr Location > identifier for mysite.org to properly proxy this site. > > This is driving me nuts and I feel that I'm missing something obvious but I > can't for the life of me get past this. Could some kind soul save me from my > frustration? It seems to me you have read neither the docs for ProxyPassReverse http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreverse nor the standard tutorial http://www.apachetutor.org/admin/reverseproxies They'll both tell you that you need mod_proxy_html (a third-party module) if you want links inside the html pages rewritten. 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx