Custom ErrorDocument 403 and FilesMatch
-
Thanks for a great plugin. I have found something, though, that doesn’t work as expected.
In .htaccess, the line
ErrorDocument 403 "Custom message"
has no effect, unless these lines are removed:
<FilesMatch ".*\.(php|html?|css|js|jpe?g|png|gif)$">
</FilesMatch>
Instead of the custom message, a blocked visitor is presented with the standard Apache
Forbidden
You don't have permission to access / on this server.
Not immediatly after being blocked, but on the following attempts – when the IP has been added to .htaccess.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom ErrorDocument 403 and FilesMatch’ is closed to new replies.