I BELIEVE YOU HAVE THE WRONG EMAIL ADDRESS: I KNOW NOTHING ABOUT YOUR
SPECIFIC REQUEST & I AM ON THE EAST COAST.

KINDLY RECHECK THE SPECIFIC EMAIL ADDRESS & THE INTENDED DESTINATION YOU
HAVE IN MIND; GOOD LUCK!

MS BRICE



-----Original Message-----
From: Hans Sponberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 1:11 AM
To: [EMAIL PROTECTED]
Subject: mapping uri to tomcat directory


I am using apache / tomcat together, and I am wondering how to remap a
request for Tomcat. For example, I want the uri to be: mydomain.com/username
but I want the actual directory mapping to be /www/users/username.
(mydomain.com points to /www) For static content, I can use an alias for
apache like so: alias username "www/users/username", but the request is sent
to tomcat before the alias takes place, so tomcat looks in www/username,
which of course does not exist. So the alias works for static content, but
not for my jsp pages. Furthermore, I cannot setup Tomcat with <Context
path="/username" docBase="/www/users/username".../> because the jsp files in
/www/users/username have <jsp include tags> that reference content at
/www/templates/ and jsp's can't see beyond their context docBase. What can I
do?

Thanks,
Hans

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set
JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to