You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Guillaume Lederrey <gu...@gmail.com> on 2005/04/04 13:35:35 UTC

symlink in a webapp

  Hello !

  I'm trying to have a symlink in one of my webapp. Something like :

myApp/
  +- WEB-INF/
  +- myOtherDir -> symlink to somewhere else

  Tomcat doesnt seem to follow the symlink (I get a 404). It probably
is that way for very good security reasons, but in the developpement
phase, it would me most usefull for me to be able to use that trick.

  I suspect there is a config option somewhere but I could find it ...

   Thx for your help ...

     Guillaume Lederrey

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


Re: symlink in a webapp

Posted by Guillaume Lederrey <gu...@gmail.com>.
On Apr 4, 2005 1:41 PM, Trond G. Ziarkowski <tr...@gep-as.com> wrote:
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
> 
> Look for the allowLinking attribute...

  Once more, I seems to be blind ... Thanks for the hint !

    Guillaume Lederrey

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


Re: symlink in a webapp

Posted by "Trond G. Ziarkowski" <tr...@gep-as.com>.
Hi,

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html

Look for the allowLinking attribute...


Trond
||
Guillaume Lederrey wrote:

>  Hello !
>
>  I'm trying to have a symlink in one of my webapp. Something like :
>
>myApp/
>  +- WEB-INF/
>  +- myOtherDir -> symlink to somewhere else
>
>  Tomcat doesnt seem to follow the symlink (I get a 404). It probably
>is that way for very good security reasons, but in the developpement
>phase, it would me most usefull for me to be able to use that trick.
>
>  I suspect there is a config option somewhere but I could find it ...
>
>   Thx for your help ...
>
>     Guillaume Lederrey
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>  
>


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