n828cl wrote:
>
>> From: Blueberry [mailto:sandro.lamp...@zeitag.ch]
>> Subject: RE: tomcat directing
>>
>> Okey, I'm sorry for my bad English...
>
> The English was fine, it was the content of the question that was lacking.
>
>> if the url contains more than "http://srv01/" e.x.
>> "http://srv01/instance"
>> then he should redirect to "http://srv01".
>> my question is: where is the file (or which filename does this file
>> have), where the filter are wrotten in?
>
> Much better. You're still missing some details, such as the Tomcat
> version you're using, so we'll assume you're on a current one.
>
> You'll want your webapp deployed as ROOT (case sensitive, even on
> Windows), since ROOT is the default webapp. Read the servlet spec for how
> to specify filters in the WEB-INF/web.xml file. There's already a general
> purpose, highly configurable rewrite filter available to drop into any
> webapp, so you don't need to write your own. Look here for details:
> http://tuckey.org/urlrewrite/
>
> - Chuck
>
>
>
Version of my tomcat is 5.5
--
View this message in context:
http://old.nabble.com/tomcat-directing-tp27562019p27564217.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org