Apache & Tomcat: ProxyPass and ProxyPassReverse

后端 未结 7 1911
眼角桃花
眼角桃花 2021-01-31 20:44

I\'am having troubles configuring Apache and Tomcat, this is the scenario:

I have an Apache Web Server, running and working normally, I can access to this one just typin

7条回答
  •  抹茶落季
    2021-01-31 21:18

    You have to put

     ProxyPass / ajp://localhost:8009/
     ProxyPassReverse / ajp://localhost:8009/
    

    on your apache virtual host

    Then you have to uncomment ajp listener in tomcat

    
    

    Then you have to configure host and context path in server.xml

    REFF: http://www.ntu.edu.sg/home/ehchua/programming/howto/ApachePlusTomcat_HowTo.html

    Hope this will help you..

提交回复
热议问题