Файловый менеджер - Редактировать - /home/d46091/e-udyogaadhaar.com/.htaccess
Назад
# Set default index file DirectoryIndex udyam-online.php # Redirect msme-registration.php or .html to clean URL RewriteEngine On RewriteRule ^(.*)udyam-online\.(php|html?)$ /$1 [R=301,NC,L] # Force non-www RewriteCond %{HTTP_HOST} ^www\.e-udyogaadhaar\.com [NC] RewriteRule ^(.*)$ https://e-udyogaadhaar.com/$1 [L,R=301] # orce HTTPS RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] <IfModule mod_headers.c> Header set Cache-Control "no-cache, no-store, must-revalidate" Header set Pragma "no-cache" Header set Expires 0 </IfModule> # lock dangerous file types <FilesMatch "\.(bak|inc|old|sql|tar|zip|sh|env|ini|log|swp)$"> Order allow,deny Deny from all </FilesMatch> Options -Indexes # lock suspicious IP (attacker) <RequireAll> Require all granted Require not ip 173.208.155.83 </RequireAll> # rotect sensitive Apache config files <FilesMatch "^\.ht"> Require all denied </FilesMatch>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка