How do I redirect from Apache to Tomcat?

后端 未结 5 593
有刺的猬
有刺的猬 2020-12-07 12:31

I\'m working on my first Java site. I\'m running Apache Tomcat on port 8080, and Apache HTTPD on port 80. The current URL that I can access the site at is (for example) 123.

5条回答
  •  星月不相逢
    2020-12-07 13:05

    If you want static content to be served by Apache instead of Tomcat you should use mod_jk : http://tomcat.apache.org/tomcat-6.0-doc/proxy-howto.html

    And what about SSL - if we want Apache to handle HTTPS, because it is faster then java/Tomcat?

提交回复
热议问题