• Max

    (@max-linder)


    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)
  • Plugin Author Fresh-Media

    (@jan-paul-kleemans)

    Hi,

    Thanks for your post.

    I’m working on a new version of the plugin which doesn’t use FilesMatch at all so that will fix this issue. The problem is that I don’t have much time to work on the plugin. So it will come, but take some time.

    JP

    Thread Starter Max

    (@max-linder)

    Well, it’s really a minor issue since it only affects visitors who shouldn’t be there in the first place : )

    Thanks,
    Max

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom ErrorDocument 403 and FilesMatch’ is closed to new replies.