Hello.  I am using Tomcat 4.1.12 under Solaris 7.

I need to be able to server static files (PDFs, GIFs) from across a symbolic
link.  I have a context defined similar to this:

<Context path="/abc" docBase="/usr/local/abc">
  <Resources allowLinking="true"/>
</Context>

There is a valid webapp at /usr/local/abc.  It runs just fine other than
being able to serve static resources.

If I remove the <Resources> element, then 404 errors are returned for
resources that would require following a symbolic link.  If I put the
<Resources> element back in, then static resources work fine, but Tomcat
cannot find the JAR files in /usr/local/abc/WEB-INF/lib.  I verified this by
creating a simple webapp with no Java code, only static resources.

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

Reply via email to