tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Björkman <peter.bjork...@josh.se>
Subject Path mapping...
Date Thu, 09 Nov 2006 14:34:09 GMT

Hi! I have a web-app residing in "/", the docBase is relative to appBase. I have an issue
where I want to serve static files located outside the web-app. For example:

/mydir/index.jsp
comes from the relative docBase as usual.
/images/myimage.gif
comes from /var/static/images/myimage.gif, an absolut directory in the servers filesystem.

Is this possible without creating a separate web-app with another docBase? Could you map "/images"
to that file system path  "/var/static/images/"? I've been looking through the documentation
(5.0) for this, but cannot find it anywhere...

Regards
Peter
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/

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


Mime
View raw message