Bob Wyatt wrote:
> So I'm not sure what to do - any advice?

Create a pdf.xml file with the following contents and place it in your
${catalina.home}/webapps folder. Depending on your settings you may
need to restart Tomcat.

<Context docBase="/full/path/to/directory/of/pdf/docs" >
</Context>

This will create a new context called pdf that enables you to access
your pdf documents. Note that since you are setting the docBase, you
don't need to worry about allowLinking.

The pdfs should be accessible through:

http://host:port/pdf/

Note that with newer versions of Tomcat directory listing is disabled
so you will need to specify a pdf in order to get a response eg

http://host:port/pdf/mydoc.pdf

HTH,

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to