Initial index page
I have in my/etc/httpd/conf.d/welcome.conf file:
<LocationMatch "^/+$">
Options -Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>
This works fine. Any site that doesn't have a index file shows this default page.
However, if I change it to:
<LocationMatch "^/+$">
Options -Indexes
ErrorDocument 403 /error/noindex.php
</LocationMatch>
Then I get a 403 Forbidden error. In the error_log it shows:
"Directory index forbidden by rule: /home/thissite/www/"
If I place a php file in that site and access it directly, PHP works fine.
Any ideas?