Techie:Techie Main/Java/Tomcat/Proxy through to Apache: Difference between revisions

From FFL Wiki
Jump to navigation Jump to search
mNo edit summary
changed server name
 
Line 4: Line 4:
   <Connector port="8081"
   <Connector port="8081"
       protocol="HTTP/1.1"
       protocol="HTTP/1.1"
       proxyName="www.themightystags.com"
       proxyName="www.totalfantacy.net"
       proxyPort="80"/>
       proxyPort="80"/>



Latest revision as of 10:28, 10 June 2010

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...