Viewing 15 replies - 16 through 30 (of 33 total)
  • Adding

    <IfModule litespeed>
    RewriteEngine on
    RewriteRule .* - [E=noabort:1]
    </IfModule>

    to the .htaccess in my WordPress root does indeed seem to do the trick for me, thankyou. I see it all over t’internet now I know what I am looking for. I don’t think it is the sort of thing I want permanently in the WordPress root .htaccess, but it does the job for me. I don’t know if there is anyway of making it more specific to Wordfence because I haven’t got my head around what is going on at the moment.

    Mark, could there be an option for Wordfence to add this on the fly when it needs to do a scan and remove it afterwards, or do you think it is perhaps a little too specific a fix?

    G.

    Plugin Author Wordfence Security

    (@mmaunder)

    Wow, Impressive.

    OK I’ll try to use this to come up with a rule that enables that only for scans. It’ll probably be URL and query string specific.

    Thanks, very useful. I think you helped quite a few other users.

    Regards,

    Mark.

    Plugin Author Wordfence Security

    (@mmaunder)

    Also I should add:

    It’s always impressive when a hosting provider does this level of support for a WordPress plugin like Wordfence, so I’d like to give them another shoutout:

    Stablehost.com

    Thanks guys. You’re obviously doing a good job for your customers.

    Regards,

    Mark.

    Thanks for the well deserved shoutout and this amazing plugin. The gang at Stablehost is absolutely superb and I am not just saying that. I feel much better that my scans are running and finishing. BTW–All secure…

    JV-OZ:

    In your WORDFENCE Panel in the WP Dashboard, the bottom option is OPTIONS.
    Click that.

    At the very bottom of the long options page is a link that says:
    “Click to view your system’s configuration in a new window”

    Click that.

    When that opens, the 4th box down on mine says:
    “Server API LiteSpeed V6.1”

    That’s how you know your server’s using LITESPEED.

    Thanks @netcentsil!

    This is the text that is in the .htaccess file now:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    v 5.0.8 installed, still hangs.

    Hangs in the same scan function only it now gets through 2000 files before hanging vice 800 reported before.

    Litespeed server.

    @netcentsii is that with the .htacess file you show above, or with the RewriteRule .* - [E=noabort:1] rule added to it?

    This is the existing .htaccess as modified by my HOSTER.

    I did NOT make the suggested change as I am not a PHP programmer and do not know how to integrate it into this existing code.

    My problens persist after upgrade to v5.0.8 but without the .htaccess mods.

    where is there any mention of php.It is just text you just copy and paste

    Ifyou can’t do it tell your host to add this to the.htaccess right under # BEGIN WordPress

    <IfModule litespeed>
    RewriteEngine on
    RewriteRule .* – [E=noabort:1]
    </IfModule>

    My problens persist after upgrade to v5.0.8 but without the .htaccess mods.

    Why would anything change when you did noting that is the problem–add the text to the .htaccess

    check your caplock. it sometimes get stuck on

    Latest update FAILED during update:
    —————————————-
    Update Plugin
    Downloading update from https://downloads.www.ads-software.com/plugin/wordfence.5.0.9.zip…

    Unpacking the update…

    Could not copy file. wordfence/tmp/.htaccess

    Return to Plugins page
    ——————————————

    My wordpress is loaded in a directory other than root so the .htaccess is probably not found in the location your update expected.

    What is the .htaccess UPDaTE so it can be manually edited?

    If it is not there add under
    # BEGIN WORDPRESS

    THIS

    <IfModule litespeed>
    RewriteRule .* – [E=noabort:1]
    </IfModule>

    I just tried it–it works

    I was facing same problem.
    I replaced my .htaccess as

    # BEGIN WordPress
    <IfModule litespeed>
    RewriteEngine on
    RewriteRule .* – [E=noabort:1]
    </IfModule>
    <IfModule mod_rewrite.c>
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    And scans are being completed.
    Thanks to nosnurg

    My htaccess reads:

    # BEGIN s2Member GZIP exclusions
    <IfModule rewrite_module>
    RewriteEngine On
    RewriteBase /sandbox/
    RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+ [OR]
    RewriteCond %{QUERY_STRING} (^|\?|&)no-gzip\=1
    RewriteRule .* – [E=no-gzip:1]
    </IfModule>
    # END s2Member GZIP exclusions

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /sandbox/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /sandbox/index.php [L]
    </IfModule>

    # END WordPress

Viewing 15 replies - 16 through 30 (of 33 total)
  • The topic ‘Scan still hanging on a litespeed server’ is closed to new replies.