thanks for answer

there is not only allowLinking buggy in 4.1.12, but also symlink that 
TAKE INSIDE webapp directory are not allowed managed correctly !!
i hope it will be correct soon.

Max

Graham King wrote:

>  Luise,
>
>  I have the same problem. In Tomcat versions 4.1.* applications are not
>allowed to follow symlinks 
>that take them out of their webapp directory. The 'allowLinking' is
>meant to override this but is 
>apparently buggy (it definately didn't work for me). See here:
>
>http://www.mail-archive.com/[email protected]/msg68686.html
>
>  I gather this will be fixed in 4.1.13. If you really need to symlink
>stick with the 4.0 branch for 
>now.
>
>  Does anyone know for sure if this is planned for a fix in 4.1.13 ?
>
>  Graham.
>
>Luise Massimo wrote:
>  
>
>>Hi all,
>>
>>i asked before for help with JSP page that include a symlink file.....
>>
>>examining the source code i noticed in 
>>org.apache.naming.resources.FileDirContext 2 things regarding
>>    
>>
>symlinks:
>  
>
>>1) there is a flag name "allowLinking"....but i don't know if it 
>>settable or not
>>2) there is a test beetween AbsolutePath and CanonicalPath of the 
>>included file.....it's this test that preclude the use of symlinks in 
>>the include directive
>>
>>Can anyone help me understanding this things ?
>>
>>Thanks
>>
>>-- 
>>To unsubscribe, e-mail:   
>><mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail: 
>><mailto:[EMAIL PROTECTED]>
>>
>>    
>>
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>  
>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to