Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

apache mod_jk <-> tomcat paths

Christoph Loibl

2004-05-14


hi!

i have the following directory setup for a user:

~user/public_html/
~user/webapps/
~user/webapps/ROOT
~user/webapps/app1
~user/webapps/app2

apache-webserver config:

<Virtualhost bla >
....
DocumentRoot path_to_userhome/public_html
JkMount /webapps/* myworker
....
</Virtualhost>

the tomcat application root is pointing to ~user/webapps

is it possible to access all the applications by using urls like this:

 http://bla/webapps/
    http://bla/webapps/app2/
    http://bla/webapps/app1/
    http://bla/static.html <- access to public_html/static.html (no tc)

-> the above configuration tries to access ~user/webapps/webapps but
probably it is possible to apply some directory mapping anywhere?

regards

christoph loibl

--
CHRISTOPH LOIBL >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
mailto:c@(protected)
http://pix.tix.at  |          is your Windows box."
CHL-RIPE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PGP-Key-ID: 0x4B2C0055 >>>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.