Hello I'm trying to figure out mod_proxy in apache to access an backend web server on a virtual machine running Gitorious. I have looked at examples and tried them but I still can't figure it out.
the goal is to forward the user when server.mysite.net/gitorious is accessed to the back end virtual server.
I have added the following to my config file but I get an error saying "invalid command ProxyPreserveHost" when I restart apache.
ProxyPreserveHost On
ProxyPass /gitorious http://192.168.1.168
ProxyPassReverse /gitorious http://192.168.1.168