403 forbidden .htaccess issue

Posted by Gkhan14 on Server Fault See other posts from Server Fault or by Gkhan14
Published on 2013-07-02T01:03:04Z Indexed on 2013/07/02 5:06 UTC
Read the original article Hit count: 557

Filed under:
|
|
|

I have this .htaccess file in one directory on my site:

<limit GET> 
order deny,allow  
deny from all  
allow from 123.456.789
</limit>

ErrorDocument 403 403.html

It blocks everyone except for one IP. However, when an invalid IP visits, it does not show the 403.html file, but it just shows the text "403.html" on the page.

When I try to directly visit the 403.html page on the directory, it gets the same message too.

© Server Fault or respective owner

Related posts about apache2

Related posts about .htaccess