Support » Plugin: Wordfence Security - Firewall & Malware Scan » “Optimize Wordfence Firewall” is done , but not working

  • Resolved kiranrs

    (@kiranrs)


    Hi,
    I’ve installed Wordfence and done “Optimize Wordfence Firewall” option on my new OpenLitespeed server. But it’s not working, still showing “Optimize Wordfence Firewall” on Firewall options menu. I see there is an .user.ini file and there is auto_prepend_file exists, also in .htaccess also.

    # Wordfence WAF
    <IfModule LiteSpeed>
    php_value auto_prepend_file 'path to /wordfence-waf.php'
    </IfModule>
    <IfModule lsapi_module>
    php_value auto_prepend_file 'path to /wordfence-waf.php'
    </IfModule>
    <Files ".user.ini">
    <IfModule mod_authz_core.c>
    	Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    	Order deny,allow
    	Deny from all
    </IfModule>
    </Files>
    
    # END Wordfence WAF

    But still I’ve 35% score in Web Application Firewall section.

    Let me know why it’s not working?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support WFAdam

    (@wfadam)

    Hello @kiranrs and thanks for reaching out to us!

    A diagnostic might show me what we are missing here.

    Can you send a diagnostic report to wftest @ wordfence . com? You can find the link to do so at the top of the Wordfence > Tools > Diagnostics page. Then click on “Send Report by Email”. Please add your forum username where indicated and respond here after you have sent it.

    NOTE: It should look as follows – Screenshot of Tools > Diagnostic > Send by Email

    Thanks again!

    Thread Starter kiranrs

    (@kiranrs)

    Hi, I sent it. Please check. Also there is a security issue on Wordfence configuration on my website. I need to report it, but not publically here. Where I can raise my issue?

    Thread Starter kiranrs

    (@kiranrs)

    Hi, Hope you received the log details. Please respoond…

    Thread Starter kiranrs

    (@kiranrs)

    Hi, The solution is solved by myself. Please follow this steps if someone facing the same issue with OpenLiteSpeed server.

    Normally OpenLitespeed server can’t detect .user.ini files. That is why autoprepend variable didn’t detected by Wordfence plugin. To solve this issue please follow this link. If you’re using any web panel that’s using OLS, please follow their own methods.

    • This reply was modified 1 year, 1 month ago by kiranrs.
    • This reply was modified 1 year, 1 month ago by kiranrs.
    Plugin Support WFAdam

    (@wfadam)

    Nice work! Thanks for letting us and everyone else know what the fix was!

    We appreciate it!

    Thread Starter kiranrs

    (@kiranrs)

    Thanks for your response. Hope you update WordFence help page including this information.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘“Optimize Wordfence Firewall” is done , but not working’ is closed to new replies.