Litespeed Shared Hosting

#1
Hi

We use litespeed on our shared hosting servers, when customers add certain backups or scanning plugins like wordfence then it doesn't work. Customers have to add some no-abort line in their htaccess. This creates unnecessary issues and ups the customer contact ratio. Is there a way to do this globally on each server and is it safe in doing so?

Thanks in advance
 

Pong

Administrator
Staff member
#2
Do you mean wordfence plugin doesn't work after added to WordPress installation? Looks like php timeout issue instead of LiteSpeed web server issue.
If it is on a control panel server, such as cpanel, you may temporarily switch to apache to see how it is going and you should experience the similar issue. Check error log and stderr log for hint. or try to change some php settings.
 
Last edited:

sahostking

Well-Known Member
#3
I think what he means is that the following is needed to get it work and has to manually be added to .htaccess

# BEGIN litespeed noabort
<IfModule rewrite_module>
RewriteEngine On
RewriteRule .* - [E=noabort:1]
</IfModule>
# END litespeed noabort
 

sahostking

Well-Known Member
#4
I added this to pre virtualhost in whm :

<IfModule LiteSpeed>
DisableCgiOverride On
RewriteEngine On
RewriteRule (wp-cron|backupbuddy|importbuddy)\.php - [E=noabort:1, E=noconntimeout:1]
</IfModule>
 
Top