From: Hugh E Cruickshank Sent: September 16, 2008 15:32
> From: Sean Conner Sent: September 15, 2008 23:36
> > It was thus said that the Great Hugh E Cruickshank once stated:
> > > 
> > > That may be the case but their recommendation is still: Issue a
> > > "404 - Not Found" response status code for a forbidden resource,
> > > or remove it completely.
> > 

[snip]

> > But, if you want to do it, then you'll need to do the following 
> > *for every directory under your webroot*:
> > 
> >     RedirectMatch 404 ^/$
> >     RedirectMatch 404 ^/path$
> >     RedirectMatch 404 ^/path/$
> >     RedirectMatch 404 ^/path/to$
> >     RedirectMatch 404 ^/path/to/$
> >     RedirectMatch 404 ^/path/to/directory$
> >     RedirectMatch 404 ^/path/to/directory/$
> > 
> [snip]
> 
> I will give that a shot tonight.
> 

That worked like a charm.

Much thanks to all who replied.

Regards, Hugh

-- 
Hugh E Cruickshank, Forward Software, www.forward-software.com 

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to