You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rai Ou <ou...@veritrans.co.jp> on 2004/02/03 12:14:15 UTC

HELP - How to Hide the file list of Tomcat

I want to show a common error page or redirect to the special page
when the customs access this urls :

http://mysite.com/admin/  or
http://mysite.com/admin/jsp/ or
http://mysite.com/admin/img/me.gif and so on ...

You know when they access a real page which is in the Tomcat's
Web container which I set, they can see the file list and know the server
information.

What can I do ?
(Note: I don't want to write the filters bsz. I have to match all of the url
patterns, I want to change the server config files to fix this problem).

Thank you.

Rai



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: HELP - How to Hide the file list of Tomcat

Posted by Tim Funk <fu...@joedog.org>.
http://jakarta.apache.org/tomcat/faq/misc.html#listing

-Tim

Rai Ou wrote:
> I want to show a common error page or redirect to the special page
> when the customs access this urls :
> 
> http://mysite.com/admin/  or
> http://mysite.com/admin/jsp/ or
> http://mysite.com/admin/img/me.gif and so on ...
> 
> You know when they access a real page which is in the Tomcat's
> Web container which I set, they can see the file list and know the server
> information.
> 
> What can I do ?
> (Note: I don't want to write the filters bsz. I have to match all of the url
> patterns, I want to change the server config files to fix this problem).
> 
> Thank you.
> 
> Rai



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org