> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Getting OpenBlueDragon and Tomcat to traverse directories

Please post in plain text and leave in the < and > symbols.  Lack of them makes 
it much harder to examine your XML for correctness.

>       Host name="mysite.com" appBase="/var/www/html/mysite"

It's a really bad idea to use the same directory for both Tomcat and httpd; at 
a bare minimum, it allows divulging of webapp code.

>         Context path="" docBase="." debug="0" reloadable="true" /

You must never, never have a docBase of "."; each webapp should be deployed 
*under*, not in, the appBase directory.  Also, putting <Context> elements in 
server.xml is strongly discouraged these days.  Your default webapp should be 
named ROOT (case sensitive); if you do that, you don't need a <Context> element 
at all for this situation.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to