tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Turner <tomcat-u...@johnturner.com>
Subject Re: How to create directories unser webapps?
Date Fri, 30 May 2003 13:45:20 GMT

I'm no guru, but I believe the recommended configuration is to set the 
Context with the appopriate directory as its docBase.  A Context's docBase 
does not have to be under a Host's appBase.

John

On Fri, 30 May 2003 08:40:31 -0500, Geralyn M Hollerman 
<gmh2441@louisiana.edu> wrote:

> John Turner wrote:
>>
>> This only works if you allow symbolic links (not recommended).  In 
>> recent
>> versions of Tomcat, you have to explicitly define symbolic links as 
>> being
>> "OK"...they are disabled by default.
>
> I didn't realize that...so is there a better (recommended) way to refer
> to a directory ouside of the Tomcat context?
>
> Thanks!
>
> Lynn Hollerman.
>
> ---Original Message---
>
>> On Thu, 29 May 2003 10:32:02 -0500, Geralyn M Hollerman
>> <gmh2441@louisiana.edu> wrote:
>>
>> > stephanj wrote:
>> >> Is it not possible to create directories to organize your users with
>> >> Tomcat?
>> >
>> > I *think* I understand what you want to do...we needed something
>> > similar, so we created a directory outside of the Tomcat context and
>> > then, in the /Tomcat/webapps directory, put a symbolic link to that
>> > directory outside of Tomcat (call it /New). Now we can access /New by
>> > pointing to http://hostname:8080/New - this is along with a similar
>> > <Context> statement in server.xml. I hope this is what you had in 
>> mind!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message