[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] All folders visable on whole server
- Subject: Re: [cobalt-users] All folders visable on whole server
- From: "Brian Curtis" <admin@xxxxxxxxxxx>
- Date: Fri Dec 8 16:33:59 2000
- Organization: Pomfret Computer Technologies
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> Forgot to add to my last message:
>
> <Files ~ "^adminpro\.(cgi|pl)$">
> Order allow,deny
> Deny from all
> </Files>
>
> Test: http://www.ctusa.net/cgi-bin/adminpro.cgi
If you wanted to be a bit more silent about it, you can do the following:
<Files ~ "^adminpro\.(cgi|pl)$">
Order allow,deny
Deny from all
ErrorDocument 403 http://yourdomain.com/empty.txt
</Files>
Which would simply produce a blank page instead of the nasty "Forbidden"
message. If you wanted to get real fancy, you could redirect the requests
to a script which logs the attempted access and emails you with the details.
The possibilities are as endless as your imagination.
--
Brian Curtis