Techie:Techie Main/Apache2/Proxy Setup: Difference between revisions

From FFL Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 7: Line 7:
  ProxyPass              /fantacyweb    http://localhost:8081/fantacyweb
  ProxyPass              /fantacyweb    http://localhost:8081/fantacyweb
  ProxyPassReverse        /fantacyweb    http://localhost:8081/fantacyweb
  ProxyPassReverse        /fantacyweb    http://localhost:8081/fantacyweb
Also see [[../../Java/Tomcat/Proxy_through_to_Apache]]

Latest revision as of 10:58, 9 June 2010

Install mod_proxy and see the following example additions httpd.conf to proxy through to tomcat running on port 8081

<Proxy *>
   Order deny,allow
   Allow from localhost
</Proxy>
ProxyPass               /fantacyweb     http://localhost:8081/fantacyweb
ProxyPassReverse        /fantacyweb     http://localhost:8081/fantacyweb

Also see Techie:Techie Main/Java/Tomcat/Proxy_through_to_Apache