tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <>
Subject Re: Multi-URL Access 1 Webapp
Date Fri, 01 Nov 2013 10:37:28 GMT
Am 31.10.2013 20:30, schrieb Chris Arnold:
>> mod_rewrite is what's adding the extra /share/
>> RewriteRule ^/(.*)$1 [P]
>> should be something like either:
>> RewriteRule ^/(.*)$1 [P]
> This takes me to the tomcat home page, /
If you want to be redirected to /share when the user typed /, you could 
add a rewrite rule like
RewriteRule ^/$ /share [R,L]
This will match only on "/".
>> or:
>> RewriteRule ^/share/(.*)$1 [P]
> This one gives me a 403 access denied
What happens, if you call the tomcat url directly? Do you get a cookie? 
If so, which domain is it for? Maybe you have to add another directive 
to rewrite the cookie domain on the way back through httpd, or 
alternatively set the right domain in tomcat?

For further information you could look at

>> ..depending on whether you want to proxy all URL's to Tomcat, or just the /share
> Looks like i am back to the apache list
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message