

# BEGIN LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule litespeed/debug/.*\.log$ - [F,L]
RewriteRule \.litespeed_conf\.dat - [F,L]
</IfModule>
<IfModule LiteSpeed>
CacheLookup on
RewriteRule .* - [E=Cache-Control:no-autoflush]

### marker ASYNC start ###
RewriteCond %{REQUEST_URI} /wp-admin/admin-ajax\.php
RewriteCond %{QUERY_STRING} action=async_litespeed
RewriteRule .* - [E=noabort:1]
### marker ASYNC end ###

### marker WEBP start ###
RewriteCond %{HTTP_ACCEPT} image/webp [OR]
RewriteCond %{HTTP_USER_AGENT} iPhone\ OS\ (1[4-9]|[2-9][0-9]) [OR]
RewriteCond %{HTTP_USER_AGENT} Macintosh.*Version/((1[7-9]|[2-9][0-9])|16\.([4-9]|[1-9][0-9])) [OR]
RewriteCond %{HTTP_USER_AGENT} Firefox/([6-9][0-9]|[1-9][0-9]{2,})
RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp]
### marker WEBP end ###

### marker DROPQS start ###
CacheKeyModify -qs:fbclid
CacheKeyModify -qs:gclid
CacheKeyModify -qs:utm*
CacheKeyModify -qs:_ga
### marker DROPQS end ###

</IfModule>
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END LSCACHE
# BEGIN NON_LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END NON_LSCACHE

# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 89.187.170.169

deny from 13.72.100.15

deny from 104.214.151.235

deny from 137.117.106.182
deny from 20.0.0.0/8
deny from 52.0.0.0/8
deny from 128.0.0.0/8
deny from 185.0.0.0/8
deny from 193.0.0.0/8
deny from 31.0.0.0/8
deny from 92.0.0.0/8

# Wordfence WAF
<IfModule LiteSpeed>
php_value auto_prepend_file '/home/spainhour/public_html/wordfence-waf.php'
</IfModule>
<IfModule lsapi_module>
php_value auto_prepend_file '/home/spainhour/public_html/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
deny from 34.162.0.1
deny from 34.162.0.2/31
deny from 34.162.0.4/30
deny from 34.162.0.8/29
deny from 34.162.0.16/28
deny from 34.162.0.32/27
deny from 34.162.0.64/26
deny from 34.162.0.128/25
deny from 34.162.1.0/24
deny from 34.162.2.0/23
deny from 34.162.4.0/22
deny from 34.162.8.0/21
deny from 34.162.16.0/20
deny from 34.162.32.0/19
deny from 34.162.64.0/18
deny from 34.162.128.0/18
deny from 34.162.192.0/19
deny from 34.162.224.0/20
deny from 34.162.240.0/21
deny from 34.162.248.0/22
deny from 34.162.252.0/23
deny from 34.162.254.0/25
deny from 34.162.254.128/26
deny from 34.162.254.192/27
deny from 34.162.254.224/28
deny from 34.162.254.240/29
deny from 34.162.254.248/30
deny from 34.162.254.252/31
deny from 34.162.254.254

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php74” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
