tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: Multi-URL Access 1 Webapp
Date Fri, 01 Nov 2013 20:43:28 GMT
Chris Arnold wrote:
> Starting over since i can not seem to get this to work with tomcat or apache. So what
i have now that IS somewhat working is:
>     #This rewrites https://share.anydomain.tld to our mail server
>     RewriteEngine On
>     RewriteCond %{HTTP_HOST} ^share\.
>     RewriteCond %{HTTPS} on
>     RewriteRule ^/(.*)$1 [P]
> This DOES get me over to the tomcat side but gives a 404. Notice the status line:
> HTTP Status 404 - /share/share/page/

with which *original* request URL ?

> Tomcat seems to be adding an extra /share. User need to access the web app with https://share.anydomain.tld
which will land on apache and apache will get it to tomcat. The web app is accessible from
http://ip:8080/share or https://ip:8443/share. How do i stop tomcat from adding the extra
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message