Techie:Techie Main/Java/Tomcat/Proxy through to Apache: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
This is based on information at http://tomcat.apache.org/tomcat-6.0-doc/proxy-howto.html | 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 | 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... |
Revision as of 11:02, 9 June 2010
Configure the tomcat end as follows (<tomcat_install>/conf/server.xml)
<Connector port="8081" protocol="HTTP/1.1" proxyName="www.themightystags.com" 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...