You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Darek Czarkowski <dc...@infinitesource.ca> on 2005/06/20 21:15:37 UTC

Re: follow simboilic links when requesting an html page using tomcat 5.0.25

Add 
<Resources className="org.apache.naming.resources.FileDirContext"
allowLinking="true" />
To the context

DarekC

On Mon, 2005-06-20 at 10:03, Ariel Pessah wrote:
> Hi all,
> 
> Does any body knows how can I configure Tomcat to follow symbolic links 
> when showing a page on Linux ?
> I am trying to load an html page which is actually a symbolic link to a 
> different html page in a different location but I get a "not found" error.
> 
> Also even when the requested html is in the same directory the error 
> still occurs so it is not a permission problem.


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


Re: follow simboilic links when requesting an html page using tomcat 5.0.25

Posted by Ariel Pessah <ar...@mailvision.net>.
Thank you Darek for your fast response it gave me the direction to 
resolve the problem.

Looks like it is enough to add the attribute  allowLinking="true"  the 
the context element.

Thanks again.

Ariel

Darek Czarkowski wrote:

>Add 
><Resources className="org.apache.naming.resources.FileDirContext"
>allowLinking="true" />
>To the context
>
>DarekC
>
>On Mon, 2005-06-20 at 10:03, Ariel Pessah wrote:
>  
>
>>Hi all,
>>
>>Does any body knows how can I configure Tomcat to follow symbolic links 
>>when showing a page on Linux ?
>>I am trying to load an html page which is actually a symbolic link to a 
>>different html page in a different location but I get a "not found" error.
>>
>>Also even when the requested html is in the same directory the error 
>>still occurs so it is not a permission problem.
>>    
>>
>
>
>---------------------------------------------------------------------
>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