By Date: <-- -->
By Thread: <-- -->

pdf documents



Bob Wyatt wrote:
> 	<Context docBase="/usr/test/pdf" > </Context>

Sorry, I should have read you post more carefully. The above works for
5.5.x but for 5.0.x you will need
<Context docBase="/usr/test/pdf" path="/pdf" > </Context>

On this version directory listings are enabled so http://host:port/pdf
should return a directory listing.

> So I then copied pdf.xml to $CATALINA_HOME/webapps/appname/WEB-INF, shutdown
> and restarted Tomcat, and I receive the same error message.

I don't think this would ever work. I'd delete this copy of pdf.xml so
it doesn't cause confusion down the road.

If, after a restart, this still doesn't work have a look in
$CATALINA_HOME/logs and post the relevant sections of the logs.

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org