Re: path mapping on tomcat

2007-05-18 Thread Johnny Kewl
rvlet enhancements"... kinda thing that I imagine has been done... The official answer is... tomcat users can program dude!... we dont need that... haha but it is kinda nice ;) - Original Message - From: "Manca Davide" <[EMAIL PROTECTED]> To: Sent: Friday, May 18,

path mapping on tomcat

2007-05-18 Thread Manca Davide
Hello, I need to do in Tomcat 6 the equivalent of these Resin 2 directives : Thank you.

path mapping on tomcat

2007-05-17 Thread Manca Davide
Hello, I need to do in Tomcat 6 the equivalent of these Resin 2 directives : Thank you.

Re: How do you do virtual directory / path mapping in a webapp

2007-01-10 Thread Barrie Selack
>There is no way currently. I have a patch on my local machine which >allows add this functionality for FileDirContext. >http://tomcat.apache.org/tomcat-5.5-doc/config/resources.html > > docBase="/usr/local/crap"> >aliases="/a1=/mypath/images;/a2=/foopath/images" /> > > >But I ha

Re: How do you do virtual directory / path mapping in a webapp

2007-01-10 Thread Tim Funk
There is no way currently. I have a patch on my local machine which allows add this functionality for FileDirContext. http://tomcat.apache.org/tomcat-5.5-doc/config/resources.html But I haven't had time to see if my patch is secure or compliant if someone uses the WebDav servlet. In the m

How do you do virtual directory / path mapping in a webapp

2007-01-10 Thread Barrie Selack
I am converting from Resin and there I can map a directory not inside the webapp to one which can be reached via a URL and translated by Resin as below: /files/* /realdir/files I can't seem to find a way in Tomcat to do that. Do I have to write my own filter? Any tips or help apprec

Re: Path mapping...

2006-11-10 Thread Mark Thomas
Rashmi Rubdi wrote: > I'm not too sure if this will help but, you might want to try URL Rewriting, > if you have Apache as the web server you could use it's rewrite features. > > I'm not sure if it'll work since as you've mentioned /var/static/images/ is > outside your applications context. Thi

Re: Path mapping...

2006-11-10 Thread Rashmi Rubdi
<[EMAIL PROTECTED]> To: users@tomcat.apache.org Sent: Friday, November 10, 2006 3:11:54 AM Subject: Path mapping... (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

Path mapping...

2006-11-10 Thread Peter Björkman
(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

Re: Path mapping...

2006-11-09 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

Path mapping...

2006-11-09 Thread Peter Björkman
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 abs

Adding classpaths and path mapping

2006-07-12 Thread Barrie Selack
in Tomcat? Also you can specify path mapping to hide the real path such as: /fakepath/* /some/real/path Is there a way in Tomcat to do this? I'm looking at switching to Tomcat from Resin, but need to find out how I can do these conversions. Thanks for an