httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <carn...@electrichendrix.com>
Subject Re: [users@httpd] Another mod_proxy Question/Issue
Date Fri, 01 Nov 2013 19:39:52 GMT
>Just to close the discussion here: 
>Chris sent me the real domain name and I had a look: 
>The issue is actually that the ProxyPassReverse is not correct. 
>Requests for the main page come back with a 302 pointing to /share/ and all assets used
also have /share/ at the beginning of their path. 

>I will have a look off list to figure out either 1) why reverse is not catching this or
2) if the tomcat server can be set to know it is behind a >proxy 
For those of you following this thread, here is what works: 

#This rewrites https://share.anydomain.tld to our share server 
RewriteEngine On 
RewriteCond %{HTTP_HOST} ^share\. 
RewriteCond %{HTTPS} on 
RewriteCond %{REQUEST_URI} !^/share/ 
RewriteRule ^/(.*) https://share.example.com:xxxx/share/ [P] 
JkMount /share/* worker1 

Mime
View raw message