Файловый менеджер - Редактировать - /home/gqdcvggs/hizhat.com/.htaccess.6.tar
Назад
home/gqdcvggs/.trash/.htaccess.6 0000664 00000006714 15114716420 0012455 0 ustar 00 RewriteEngine On DirectoryIndex login.php RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC] RewriteRule ^ %1 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.*?)/?$ $1.php [L] RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{HTTP_REFERER} ^https?://imators\.com/fr [NC] RewriteCond %{REQUEST_URI} !^/fr [NC] RewriteRule ^(.*)$ /fr [L,R=301] Options -Indexes <FilesMatch "^(\.|wp-config\.php|php\.ini|\.htaccess|\.git)"> Order deny,allow Deny from all </FilesMatch> <FilesMatch "sess_.*"> Order Allow,Deny Allow from all </FilesMatch> <IfModule mod_headers.c> Header set X-Content-Type-Options "nosniff" Header set X-XSS-Protection "1; mode=block" Header set X-Frame-Options "SAMEORIGIN" Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains" Header always set Referrer-Policy "strict-origin-when-cross-origin" Header set Content-Security-Policy "default-src * data: blob: 'unsafe-inline' 'unsafe-eval'; script-src * data: blob: 'unsafe-inline' 'unsafe-eval'; connect-src * data: blob: 'unsafe-inline'; img-src * data: blob: 'unsafe-inline'; frame-src * data: blob: ; style-src * data: blob: 'unsafe-inline'; font-src * data: blob: 'unsafe-inline';" </IfModule> RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^https?://(www\.)?(imators\.com) [NC] RewriteRule \.(jpg|jpeg|png|gif|webp)$ - [NC,F] ServerSignature Off <Directory "/uploads"> php_flag engine off AddHandler cgi-script .php .phtml .php3 Options -ExecCGI </Directory> RewriteCond %{HTTP_USER_AGENT} ^(java|curl|wget).* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^.*(winhttp|HTTrack|clshttp|archiver|loader|email|harvest|extract|grab|miner).* [NC] RewriteRule .* - [F,L] RewriteCond %{HTTP:X-Requested-With} XMLHttpRequest RewriteRule ^(.+)$ $1.php [L,QSA] <LimitExcept GET POST HEAD> Deny from all </LimitExcept> <FilesMatch "(\.(bak|config|sql|fla|psd|ini|log|sh|inc|swp|dist|git|env|env\.|composer\.|package\.)|~|\.env|composer\.json|package\.json)$"> Order allow,deny Deny from all </FilesMatch> <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 month" ExpiresByType image/x-icon "access plus 1 year" ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType text/css "access plus 1 month" ExpiresByType text/javascript "access plus 1 month" ExpiresByType application/javascript "access plus 1 month" </IfModule> <IfModule mime_module> AddHandler application/x-httpd-ea-php81 .php .php8 .phtml </IfModule> # php -- BEGIN cPanel-generated handler, do not edit # Définissez le package « ea-php81 » comme langage de programmation « PHP » par défaut. <IfModule mime_module> AddHandler application/x-httpd-ea-php81 .php .php8 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit
| ver. 1.6 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка