tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank B├╝ttner <frank-buett...@gmx.net>
Subject Alias problem
Date Sat, 21 Jun 2008 17:28:29 GMT
Hello,
I have the follow constellation:
an web application called "foo" on an tomcat 6.
An the link on my apache to call the application shout be:
/webapps/bar

so I have add this to my apache config for the directory webapps:
RewriteBase /webapps/
RewriteRule ^bar$ bar/ [R]
and outside of the directory directive:
JkMount /webapps/bar/* worker1

the definitions of worker1:
worker.worker1
worker.worker1.type=ajp13
worker.worker1.host=XXXXX
worker.worker1.port=YYYYYYY

When I call http://server/webapps/bar then I get the error that of the 
tomcat that /webapps/bar/ don't exits.(which is true, because it must be 
/foo) And now my question who can I tell Apache to send all for 
/webapps/bar to my tomcat as /foo/? For some reason it is not possible 
to rename server/webapps/bar to server/foo/.

Thanks,
Frank

Mime
View raw message