It's the default behavior for security reasons.  Check the release notes,
check the archives.  There is a flag that can be set in server.xml, but you
will need to upgrade to versions higher than .12 for it to work correctly.
We don't use symlinks, so I can't explain further.  I believe the flag is
called "allowLinking". 

This comes up quite a bit...searching an archive of this list should explain
things further.

John


> -----Original Message-----
> From: Hanasaki JiJi [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, November 17, 2002 12:15 AM
> To: [EMAIL PROTECTED]
> Subject: ln -s synbolic links not followed on unix/linux
> 
> 
> Tomcat 4.1.12 seems to be having problems with symbolic links under 
> linux.  The below error is reported when trying to access the docs 
> subdirectory that was soft linked to another part of the filesystem.
> 
> ls docs/* shows the directory contents fine.
> 
> Is there a way to allow tomcat to traverse the softlinks?  
> Why is this 
> the default behavior?
> 
> Thank you
> 
> type Status report
> 
> message /docs/
> 
> description The requested resource (/docs/) is not available.
> -- 
> =================================================================
> = Management is doing things right; leadership is doing the     =
> =       right things.    - Peter Drucker                        =
> =_______________________________________________________________=
> =     http://www.sun.com/service/sunps/jdc/javacenter.pdf       =
> =  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
> =================================================================
> 
> 
> --
> 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