I've got some websites in the local network, which have no access to the internet. So I want to set up one machine which has the access, and use it as a reverse proxy.
My apache config looks like this:
ProxyPass "/website1" "http://192.168.0.1/website1"
ProxyPassReverse "/website1" "http://192.168.0.1/website1"
So when I access my public domain /website 1 it redirects me to the website1, but when i click something on there which forwards me to something like /website1/about, it doesn't work, because the sourcecode still says to go to http://192.168.0.1/website1/about, which is obviously not possible from outside of the local network.
So how do I get Apache to forward all files and rewrite the paths?
Or an even better question, is there something better than apache to do an reverse proxy?
complete conf: http://pastebin.com/Mhuv7YzM