ErrorDocument not working when accessing .htaccess

Posted by oxguy3 on Server Fault See other posts from Server Fault or by oxguy3
Published on 2011-11-11T19:40:42Z Indexed on 2011/11/12 1:56 UTC
Read the original article Hit count: 536

I've been setting up ErrorDocuments for a website I'm working, and generally they've been working. However, after I set the 403 ErrorDocument, I noticed that it didn't work when I tried to access the .htaccess file itself. When I access a different forbidden file, the Error Document appears just fine. How can I make the ErrorDocument work on the .htaccess file?

If you didn't follow my explanation, here are links to show you what I mean:
ErrorDocument works fine: http://keycraft.haydencity.net/.ftpquota
ErrorDocument doesn't work: http://keycraft.haydencity.net/.htaccess

© Server Fault or respective owner

Related posts about apache2

Related posts about .htaccess