Techie:Techie Main/Java/Tomcat/Proxy through to Apache

From FFL Wiki
Revision as of 10:28, 10 June 2010 by Phallus (talk | contribs) (changed server name)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Configure the tomcat end as follows (<tomcat_install>/conf/server.xml)

  <Connector port="8081"
     protocol="HTTP/1.1"
     proxyName="www.totalfantacy.net"
     proxyPort="80"/>

then setup the proxy rule in Apache

This is based on information at http://tomcat.apache.org/tomcat-6.0-doc/proxy-howto.html

Though http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html and http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html seem more detailed so perhaps there is more to do...