Viewing File: /home/u103475381/domains/scunna.com/public_html/.htaccess_restrito

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

### 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 CACHE RESOURCE start ###
RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php - [E=cache-control:max-age=3600]
### marker CACHE RESOURCE 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
# As diretrizes (linhas) entre "BEGIN WordPress" e "END WordPress" são
# geradas dinamicamente e só devem ser modificadas através de filtros do WordPress.
# Quaisquer alterações nas diretivas entre esses marcadores serão sobrescritas.
<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
# BEGIN WP Cloudflare Super Page Cache
# As diretrizes (linhas) entre "BEGIN WP Cloudflare Super Page Cache" e "END WP Cloudflare Super Page Cache" são
# geradas dinamicamente e só devem ser modificadas através de filtros do WordPress.
# Quaisquer alterações nas diretivas entre esses marcadores serão sobrescritas.
# END WP Cloudflare Super Page Cache


<IfModule mod_headers.c>
    Header always set X-Frame-Options "SAMEORIGIN"
</IfModule>

<IfModule mod_headers.c>
    Header set Content-Security-Policy "frame-ancestors 'self';"
</IfModule>


<Files "load-scripts.php">
    Order Deny,Allow
    Deny from all
    # Permita acesso a partir de IPs internos (adicione seus IPs)
    Allow from 192.168.1.0/24
    Allow from 127.0.0.1
    Satisfy Any
</Files>

<Files "load-scripts.php">
    Require expr "%{HTTP_COOKIE} =~ /wordpress_logged_in_/"
</Files>


<IfModule mod_ratelimit.c>
    <Location /wp-cron.php>
        SetOutputFilter RATE_LIMIT
        SetEnv rate-limit 1
        SetEnv rate-initial-burst 2
    </Location>
</IfModule>

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^/wp-admin/load-(scripts|styles)\.php
    RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$
    RewriteRule ^(.*)$ - [R=403,L]
</IfModule>

<Files "wp-cron.php">
    Order Deny,Allow
    Deny from all
    Allow from 192.168.1.0/24
    Allow from 127.0.0.1
    Satisfy Any
</Files>

<Files xmlrpc.php>
    Order Deny,Allow
    Deny from all
</Files>


# <Files "admin-ajax.php">
#     Require expr "%{HTTP_COOKIE} =~ /wordpress_logged_in_/"
# </Files>
Back to Directory File Manager