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 Fri, 10 Nov 2006 08:11:54 GMT

(And sorry for hijacking the previous thread - my bad, won't happen again).

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


PETER BJÖRKMAN - SYSTEM ARCHITECT
josh / together is better / www.josh.se
sveavagen 59 / 113 59 stockholm / sweden
phone +46 (0)8 650 21 07 / mobile +46 (0)709 687 887
###########################################

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