specify filter in server.xml

2006-10-05 Thread Magnus Bergman

Hi,
I would like to add a filter to server.xml, to have a 
server-wide-filter, but it doesn't seem to be registered. It works 
fine if I put it in any-webapp/WEB-INF/web.xml or in 
$CATALINA_HOME/conf/web.xml, but it doesn't work if I put it in 
server.xml? Exact where in server.xml should I specify it?


Any help appreciated
/magnus

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



Re: specify filter in server.xml

2006-10-05 Thread Mark Thomas
Magnus Bergman wrote:
 Hi,
 I would like to add a filter to server.xml, to have a
 server-wide-filter, but it doesn't seem to be registered. It works
 fine if I put it in any-webapp/WEB-INF/web.xml or in
 $CATALINA_HOME/conf/web.xml, but it doesn't work if I put it in
 server.xml? Exact where in server.xml should I specify it?

If you put it in conf/web.xml it will be applied to all deployed
applications.

Mark


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



Re: specify filter in server.xml

2006-10-05 Thread Tim Funk

You don't, you were right when you put it in $CATALINA_HOME/conf/web.xml

-Tim

Magnus Bergman wrote:

Hi,
I would like to add a filter to server.xml, to have a 
server-wide-filter, but it doesn't seem to be registered. It works 
fine if I put it in any-webapp/WEB-INF/web.xml or in 
$CATALINA_HOME/conf/web.xml, but it doesn't work if I put it in 
server.xml? Exact where in server.xml should I specify it?



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