Quote:
|
Originally Posted by Gasper
I have lot's of no index.html directories on my server or empty one and I would like to change the output .. how can I do that? I'd like to display some sponsors instead of the default directory listening with maps and stuff..
|
Maybe there is a more elegant way of doing it, but this should work:
Code:
<Directory /path/to/your/dir>
Options -Indexes
</Directory>
And then change the 403 ErrorDocument (Forbidden) to the output you want:
Code:
ErrorDocument 403 /your/list/of/sponsors.html