Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: How to disable default servlet?

Hassan Schroeder

2007-01-09

Replies:

On 1/8/07, Narayanaswamy, Mohan
<Mohan.Narayanaswamy@(protected):
>
> I need to disable default servlet to restrict serving the static pages.
>
> We use shared Apache+Tomcat, We need apache to serve static and tomcat
> for dynamic, By no way tomcat should provide static resources.

If you've configured Apache httpd properly, Tomcat won't get any
such requests, eh? :-)

But you can also look at $CATALINA_HOME/conf/web.xml for the
default servlet's servlet-mapping...

HTH,
--
Hassan Schroeder ------------------------ hassan.schroeder@(protected)

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.