I want to disallow directory browsing (e.g. /home/user/foo/) with something more than a 403 error. I have tried editing httpd.conf to send the Web browser to a document which is not in the current directory, but one level higher (e.g. /home/user/readme.html).
Attempting to use a Redirect simply turns away all requests for that directory, unless my syntax is wrong:
Redirect /foo/
I presume that there is a way, but that I'm not seeing it. Assuming I (newbie that I am) explained myself satisfactorily, is there a solution? Thanks in advance.
Attempting to use a Redirect simply turns away all requests for that directory, unless my syntax is wrong:
Redirect /foo/
I presume that there is a way, but that I'm not seeing it. Assuming I (newbie that I am) explained myself satisfactorily, is there a solution? Thanks in advance.