i'm having a bit of trouble on setting up apache to proxy requests for a certain path to a different server.. what i'm trying to do is have apache form a proxy when http://domain.name/path is requested, to a tomcat server residing at http://local.ip:8080.. the tomcat server is blocked by a firewall so all communication has to be done through the apache server.
i looked over the documentation and added the following to httpd.conf
LoadModule proxy_module modules/mod_proxy.so
AddModule mod_proxy.c
.....
ProxyPass /path http://local.ip:8080
ProxyPassReverse /path http://local.ip:8080
and the following to server.xml..
<Connector port=8080 proxyName="domain.name" proxyPort="80" ....>
i looked over the documentation and added the following to httpd.conf
LoadModule proxy_module modules/mod_proxy.so
AddModule mod_proxy.c
.....
ProxyPass /path http://local.ip:8080
ProxyPassReverse /path http://local.ip:8080
and the following to server.xml..
<Connector port=8080 proxyName="domain.name" proxyPort="80" ....>
