File manager - Edit - /home/kdmucyyv/paltutors.co.uk/.htaccess
Back
# Block attacking IPs <Limit GET POST> order allow,deny deny from 31.121.247.143 deny from 86.174.240.185 deny from 105.164.68.162 deny from 92.205.250.69 deny from 102.212.247.146 deny from 43.135.115.233 allow from all </Limit> <Files admin-ajax.php> Order Allow,Deny Deny from 31.121.247.143 Deny from 86.174.240.185 </Files> # Block attacking IPs <Limit GET POST> order allow,deny deny from 31.121.247.143 deny from 86.174.240.185 deny from 105.164.68.162 deny from 92.205.250.69 deny from 102.212.247.146 deny from 43.135.115.233 allow from all </Limit> <Files admin-ajax.php> Order Allow,Deny Deny from 31.121.247.143 Deny from 86.174.240.185 </Files> # BEGIN SpeedyCacheheaders FileETag None <IfModule mod_headers.c> Header unset ETag </IfModule> <FilesMatch "\.(html)$"> <IfModule mod_headers.c> Header set x-speedycache-source "Server" Header set Cache-Tag "paltutors.co.uk" Header set CDN-Cache-Control "max-age=1296000" Header set Cache-Control "public" Header unset Pragma Header unset Last-Modified </IfModule> </FilesMatch> <FilesMatch "\.(css|htc|js|asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip)$"> <IfModule mod_headers.c> Header unset Pragma Header set Cache-Control "public" </IfModule> </FilesMatch> # END SpeedyCacheheaders # BEGIN Gzipspeedycache <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE font/opentype AddOutputFilterByType DEFLATE font/otf AddOutputFilterByType DEFLATE font/ttf AddOutputFilterByType DEFLATE font/woff AddOutputFilterByType DEFLATE font/woff2 AddOutputFilterByType DEFLATE text/js AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE image/svg+xml AddOutputFilterByType DEFLATE image/x-icon AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/vnd.ms-fontobject AddOutputFilterByType DEFLATE application/x-font AddOutputFilterByType DEFLATE application/x-font-opentype AddOutputFilterByType DEFLATE application/x-font-otf AddOutputFilterByType DEFLATE application/x-font-truetype AddOutputFilterByType DEFLATE application/x-font-ttf AddOutputFilterByType DEFLATE application/font-woff2 AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/rss+xml </IfModule> # END Gzipspeedycache # BEGIN LBCspeedycache <IfModule mod_expires.c> ExpiresActive on ExpiresDefault A0 ExpiresByType text/css A31536000 ExpiresByType text/javascript A31536000 ExpiresByType font/ttf A31536000 ExpiresByType font/otf A31536000 ExpiresByType font/woff A31536000 ExpiresByType font/woff2 A31536000 ExpiresByType image/jpg A31536000 ExpiresByType image/jpeg A31536000 ExpiresByType image/png A31536000 ExpiresByType image/gif A31536000 ExpiresByType image/webp A31536000 ExpiresByType image/x-icon A31536000 ExpiresByType image/svg+xml A31536000 ExpiresByType image/vnd.microsoft.icon A31536000 ExpiresByType video/ogg A31536000 ExpiresByType video/mp4 A31536000 ExpiresByType video/webm A31536000 ExpiresByType audio/ogg A31536000 ExpiresByType application/pdf A31536000 ExpiresByType application/javascript A31536000 ExpiresByType application/x-javascript A31536000 ExpiresByType application/x-font-ttf A31536000 ExpiresByType application/x-font-woff A31536000 ExpiresByType application/font-woff A31536000 ExpiresByType application/font-woff2 A31536000 ExpiresByType application/vnd.ms-fontobject A31536000 </IfModule> # END LBCspeedycache # BEGIN WEBPspeedycache <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_ACCEPT} image/webp RewriteCond %{REQUEST_FILENAME} \.(jpe?g|png|gif)$ RewriteCond %{DOCUMENT_ROOT}/$1.webp -f RewriteRule ^(.+)\.(jpe?g|png|gif)$ $1.webp [T=image/webp,L] </IfModule> <IfModule mod_headers.c> Header append Vary Accept env=REDIRECT_accept </IfModule> AddType image/webp .webp # END WEBPspeedycache # BEGIN speedycache <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_METHOD} GET RewriteCond %{HTTP_USER_AGENT} !(Mediatoolkitbot|facebookexternalhit|SpeedyCacheCCSS) RewriteCond %{QUERY_STRING} ="" RewriteCond %{HTTP:Cookie} !(comment_author_|wordpress_logged_in_) RewriteCond %{REQUEST_URI} !(\/){2}$ RewriteCond %{REQUEST_URI} !^/(wp-(?:admin|login|register|comments-post|cron|json))/ [NC] RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/speedycache/%{HTTP_HOST}/all%{REQUEST_URI}/index.html -f RewriteRule ^(.*) /wp-content/cache/speedycache/%{HTTP_HOST}/all%{REQUEST_URI}/index.html [L] </IfModule> # END speedycache # Enforce HTTPS RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # 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 # Disable directory browsing Options -Indexes # Protect .htaccess and other sensitive files <FilesMatch "^\."> Order allow,deny Deny from all </FilesMatch> # Block access to wp-config.php <Files wp-config.php> Order allow,deny Deny from all </Files> # Prevent PHP execution in uploads <Directory "/wp-content/uploads/"> <FilesMatch "\.php$"> Order allow,deny Deny from all </FilesMatch> </Directory> # Prevent PHP execution in wp-includes <Directory "/wp-includes/"> <FilesMatch "\.php$"> Order allow,deny Deny from all </FilesMatch> </Directory> # Prevent access to xmlrpc.php if not used <Files xmlrpc.php> Order allow,deny Deny from all </Files> # Prevent unauthorized access to .htaccess <Files .htaccess> Order allow,deny Deny from all </Files> # BEGIN LiteSpeed # The directives (lines) between "BEGIN LiteSpeed" and "END LiteSpeed" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule Litespeed> SetEnv noabort 1 </IfModule> # END LiteSpeed # Block common exploit attempts RewriteCond %{QUERY_STRING} (eval\() [NC,OR] RewriteCond %{QUERY_STRING} (base64_encode|base64_decode) [NC,OR] RewriteCond %{QUERY_STRING} (concat|union|select|insert|drop|update) [NC] RewriteRule .* - [F,L] # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php83” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php83 .php .php8 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit <Files 403.shtml> order allow,deny allow from all </Files> deny from 31.121.247.143 deny from 86.174.240.185 deny from 105.164.68.162 deny from 92.205.250.69
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings