• Resolved Marlimant

    (@marlimant)


    Hi: When I block an IP, Wordfence writes in file .httaccess a line like:

    deny from 200.27.53.117

    From Apache 2.4 the nomenclature is different, so in servers like mine, the IPs are not being blocked, unless they are written like this:

    <RequireAll>
    Require all granted
    Require not ip 200.27.53.117

    How can I indicate Wordfence that my Apache version is 2.4 or above ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @marlimant, thank-you for getting in touch.

    Wordfence hasn’t used .htaccess for IP blocks since a version we estimate to be from around 2016. It’s certainly important to be running 8.0.5 of Wordfence and continually update all plugins when new versions become available.

    If Wordfence is already up-to-date, manually blocking IPs in another product may be causing the changes you’re observing.

    Peter.

    Thread Starter Marlimant

    (@marlimant)

    Thank you for the reply Peter.
    So the IP blocking in my .htaccess file was created from the IP Blocker in my CPanel, IPs that I added manually.
    You reply was in big help to find out the answer.

    I’m sorry for the misunderstanding.

    • This reply was modified 11 months, 1 week ago by Marlimant.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Wrong IP block method’ is closed to new replies.