Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to return a 403 on a directory

Status
Not open for further replies.

thrybergh

MIS
Feb 10, 2003
52
0
0
GB
Hello.

On my webapp I would like my custom 403 page to show when a user tries to view a subdirectory of my "preds" webapp, e.g. preds/images/

Currently it displays a list of all the files and I don't want this. I've made custom 404 and 500 pages and these are working fine.

I am not sure if it's a Tomcat issue or an Apache issue?

:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top