Techie:Techie Main/Java/Tomcat/Proxy through to Apache: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
then [[../../../Apache2/Proxy_Setup | setup the proxy rule in Apache]] | then [[../../../Apache2/Proxy_Setup | 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 seems 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 seems more detailed so perhaps there is more to do...