htaccess errordocument not working
My understanding is that to show a custom error page, one must put
ErrorDocument 404 /error/404.php
in .htaccess
Also,
AllowOverride All
must be set in httpd.conf file. However, right now it's set to
AllowOverride None
If I change None to All, then restart the server, I get a Internal Server
Error 500 when I deliberately enter gibberish in the address bar. What am
I doing wrong?
No comments:
Post a Comment