4

Creating .htaccess files with ErrorDocument in it not working

view full story
linux-howto

http://askubuntu.com – When I create a .htaccess file with the text such as ErrorDocument 403 /content/error-docs/403.html and ErrorDocument 404 /content/error-docs/404.html it doesn't work. The file in ubuntu desktop shows "Error" within the icon of the file. However, other .htaccess files work just fine and show "Option" in the icon of the file. Why is it doing this? I've tried creating the file through terminal with sudo nano, I've tried creating the file with gedit, nothing. It just refuses to work of the text ErrorDocument is in it. If it has Options All -indexes, for example, it works perfectly. Also worth n (HowTos)