• Resolved maweb

    (@maweb)


    Ho, my server configuration is “Apache + mod_lsapi”, so How i can setup wordfence firewall? The setup has just
    >>1) Apache + mod_php
    >>2) Apache + suPHP
    >>3) Apache + CGI/fastCGI
    >>4) LiteSpeed
    >>5) NGINX
    >>6) Windows (IIS)
    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter maweb

    (@maweb)

    Any answer to resolve it ?

    Thread Starter maweb

    (@maweb)

    Sites using lsapi instead of mod_php

    If your site uses “lsapi” and shows that “Basic WordPress Protection” is still active after the firewall optimization, you may need to add the section below to your .htaccess file. This will be detected automatically in a future version. You can confirm if your site is using “lsapi” by going to the Tools page on the Wordfence menu and clicking the Diagnostics tab, then click the link that says “Click to view your system’s configuration in a new window” near the bottom of the page. If the Server API field near the top of that page says “LiteSpeed”, search for $_SERVER[‘SERVER_SOFTWARE’] near the bottom of the page, and if you find “Apache” there, this change should be what you need:

    <IfModule lsapi_module>
    php_value auto_prepend_file ‘/path/to/wordfence-waf.php’
    </IfModule>

    Hi,
    You should use the pre-selected option that has “(recommended based on our tests)” which I think is “Apache + mod_php” in your case, then apply instructions mentioned in “Sites using lsapi instead of mod_php“.

    Thanks.

    Hi @maweb
    Since I haven’t heard back from you I am assuming that the instructions helped you solve your issue so I am marking this topic as resolved.

    If however, for whatever reason, you are still experiencing this issue and it is not resolved please respond to the post, which will move it back up the queue, and mark this topic as “not resolved”.

    Thank you.

    Thread Starter maweb

    (@maweb)

    Hi @wfalaa

    Problem solved

    <IfModule lsapi_module>
    php_value auto_prepend_file ‘/path/to/wordfence-waf.php’
    </IfModule>

    ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Firewall setup with “Apache + mod_lsapi” server’ is closed to new replies.