• Resolved aiadev

    (@aiadev)


    Good day Cleantalk,

    We have a litespeed caching rule for our wordpress sites and it is added on the .htaccess file.

    However, we were having an issue every time we add this rule and when we access the site its giving us and our clients an issue that the Security Firewall is activated for the ip.

    This is the caching rule added:
    <IfModule LiteSpeed>
    CacheEnable public
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} ^GET|HEAD$
    RewriteCond %{REQUEST_URI} !login|admin|register|post|cron
    RewriteCond %{QUERY_STRING} !nocache
    RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
    RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
    RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteRule .* – [E=Cache-Control:max-age=300]
    </IfModule>

    Can you give us any solution in order to avoid this one?

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Litespeed Causing Hazardous Network Error’ is closed to new replies.