Hmm. I thought that correction would make it work, but still no go.
I don't have any structure under conf, and usually add contexts in
server.xml . I tried this first, giving path="/myapp-web".
But this didnt work. It seems by the logic of what we are trying, i.e.
making the docBase = /library/webserver/documents', that my images,
e.g won't be reachable unless the symbolic link in the docBase is
valid as well. It looks like it is, but just in case, I tried putting
the absolute path into the docBase as well. No go either.
Next, and maybe I didnt follow directions properly, I added the
directory conf/localhost
which then contained myapp-web.xml with the (pathless) context below.
Tried this also with the absolute path and still no joy.
Dennis
On Oct 15, 2009, at 1:07 PM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: how to replace apache's mod_alias
Create a file under CATALINA_BASE/conf/[service]/[host]/myapp-web.xml
that contains the following:
<Context appBase="/library/webserver/documents" />
That should be docBase, not appBase.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
PROPRIETARY MATERIAL and is thus for use only by the intended
recipient. If you received this in error, please contact the sender
and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org