(my apologises if this question isn't in the write place) Why isn't apache adjusting the URL before forwarding the HTTP redirect response to the client?
Problem description: According to httpd.conf file below, a local request to <http://frontend-server/foo/> is converted into a proxy request <http://backend-server/>. Until here everything is ok! In backend server I have a page that contains a reference to some image, (e.g. <img src="/image-dir/some-image.gif">). I'm unable to see this image through a proxy request, because this reference is being adjusted to <http://frontend-server/image-dir/some-image.gif> instead of <http://frontend-server/foo/image-dir/some-image.gif>. #--- here is my httpd.conf file in frontend server ---- ... <VirtualHost _default_:*> ... ProxyPassReverse /foo/ http://backend-server/ RewriteEngine On RewriteRule ^/foo/(.*) http://backend-server/$1 [P] ... </VirtualHost> #--- Thanks Jose Pinto.
