You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Don Ross <dr...@hotmail.com> on 2003/03/05 14:45:30 UTC

Symlink Problem after setting resources tag allowLinking="true"

After looking through the mail archives and following the examples of
enabling symbolic links, I am still unable to get it to work.

Added following context to default server.xml following the definition of 
examples context.

<Context path="/served" docBase="served" debug="0" reloadable="true">
       <Resources className="org.apache.naming.resources.FileDirContext"
               allowLinking="true" caseSensitive="false" />
       <Logger className="org.apache.catalina.logger.FileLogger"
               prefix="localhost_served_log." suffix=".txt"
timestamp="true"/>
</Context>

I'm running Tomcat 4.1.18 on RedHat Linux 7.2.

Have also tried setting docBase="" in the Resources tag, but didn't
help.

I have a symbolic link "jsp" under my webapps/served/ directory that links 
to a directory outside of Tomcat directory structure.

After restarting tomcat still get 404 error when trying to access files in 
this directory.

Any help would be appreciated.

Thanks,

Don





_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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