Apache & Tomcat: ProxyPass and ProxyPassReverse

后端 未结 7 1912
眼角桃花
眼角桃花 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:10

    ProxyPassReverse defines the URL Apache httpd should rewrite the URLs to, which would redirect to the proxied (hidden) URL. Because of this, you should change your ProxyPassReverse line to something like this:

    ProxyPassReverse / http://localhost/prueba/
    

    See also: http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html#usage

提交回复
热议问题