[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Apache in front of Tomcat  XML
Forum Index -> Deployment
Author Message
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

...every time I do it, I have to remember how it is done - so I write down here:

httpd.conf:

Code:
 ...
 LoadModule proxy_module modules/mod_proxy.so
 #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
 #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
 LoadModule proxy_connect_module modules/mod_proxy_connect.so
 #LoadModule proxy_express_module modules/mod_proxy_express.so
 #LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
 #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
 #LoadModule proxy_html_module modules/mod_proxy_html.so
 LoadModule proxy_http_module modules/mod_proxy_http.so
 LoadModule proxy_http2_module modules/mod_proxy_http2.so
 ...
 ...
 ProxyRequests off
 ProxyPreserveHost On
 ProxyPass /harry <a href="http://localhost:8080/demos" target="_blank" rel="nofollow">http://localhost:8080/demos</a>
 ProxyPassReverse /harry <a href="http://localhost:8080/demos" target="_blank" rel="nofollow">http://localhost:8080/demos</a>
 


PAy attention: the URLs in the Proxy configruation are displayed incorrectly in the forum text, because the forum tries to convert them into clickabel URLs. So ignore the a-link around the URL!

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Deployment
Go to:   
Powered by JForum 2.1.6 © JForum Team