httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] How to customize the directory listing denied?
Date Thu, 24 Jul 2003 20:40:14 GMT

On Thu, 24 Jul 2003, Jon Block wrote:
> You get the directory listing denied message. How can i set apache to call
> my "oops.cfm?message=darn" file like I did in the previous example if
> someone tries to hit the directory listing?

Use ErrorDocument 403.

This will catch any case where the server denies access, not just for
directory listings.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message