Disclaimer: I am very new to
mod_proxy and somewhat new to
apache in general.
I have a very simple virtual host with the following configuration:
<VirtualHost *:80> ServerName myhost.mydomain <IfModule mod_proxy.c> ProxyRequests Off ProxyPass /mysite http://www.google.com ProxyPassReverse /mysite http://www.google.com </IfModule> </VirtualHost>
When I go to
http://myhost.mydomain/mysite it displays the expected result, ie Google's home page, but it does not send Google's images over. When I look at the source for an image, it is in terms of
myhost.mydomain rather than a Google URI, which is expected. What isn't expected is why the images are not being fetched by
mod_proxy and sent down to me. How do I make
mod_proxy "recursive" a la
mod_rewrite. In that same vein, if I am already familiar with
mod_rewrite, why bother with
mod_proxy at all?