dont think this will work with 'war' files but I'll give it a go. thanks, detlef
keep you informed. -----Original Message----- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 12:26 AM To: Tomcat Users List Subject: Re: soft linked directories. Could it be this? http://jakarta.apache.org/tomcat/faq/misc.html#symlink -Tim Detlef Brendle wrote: > Im having a behaviour and dont know if this is a feature or a misbehaviour > of tomcat. > > I set up a context with the name '/foo/'. > A controller servlet manages a listing of available files within the > directory '/foo/images/'. > > All works fine except if I add softlinked diretories underneath 'images/'. > c.f. > 'images/softLinkedDir' -> > The directory listing looks like: > ********* > lrwxrwxrwx 1 user group ... softLinkedDir -> /foo/bar/dir > ********* > > The behaviour now is that a request such as <img > src="/foo/images/softLinkedDir/a.gif" > ends in a 404 error > saying that the requested resource a.gif does not exist. Although the file > exists phsically on the file system and can be read by the user under which > Tomcat is operating. > > Adding more to this I tried to narrow the problem by generating tests. I > found out that if I soft link a file (such as 'a.gif') the resource can be > read. > > Therefore I can ensure that all permissions to the requested resource are ok > and the resource manager can read the file allright. > > I guess that the problem comes from the soft linked dir. > > Has someone else got the same behaviour ??? > > My setup: > > Engine : tomcat 4.1.18 > OS : redhat linux > > thanks for your help, > > detlef > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
