Файловый менеджер - Редактировать - /home/u649437396/domains/freephototool.pro/public_html/.htaccess
Назад
# Enable rewriting RewriteEngine On # If an existing asset or directory is requested go to it as it is RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR] RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d RewriteRule ^ - [L] # If the requested resource doesn't exist, use index.html RewriteRule ^ /index.html [L] # Enable CORS Header set Access-Control-Allow-Origin "*" # Security headers Header set X-XSS-Protection "1; mode=block" Header set X-Content-Type-Options "nosniff" Header set X-Frame-Options "SAMEORIGIN" # Caching rules <FilesMatch "\.(jpg|jpeg|png|gif|webp|svg|js|css|woff|woff2)$"> Header set Cache-Control "max-age=31536000, public" </FilesMatch> # Compression <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascript application/json </IfModule>
| ver. 1.4 |
Github
|
.
| PHP 8.2.27 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка