Новости | FAQ | Авторы | Документация | В действии | Библиотека |
Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
Евгений Химич 09.05.2017 00:49
[Tue May 09 00:32:57.753282 2017] [core:alert] [pid 2547] [client 199.16.157.180:33710] /var/www/lifesky/data/www/lifesky.ru/.htaccess: Options not allowed here#Options All -Indexes -Includes +FollowSymLinks AddHandler parsed-html html Action parsed-html /cgi-bin/parser3.cgi RewriteEngine Off RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^www.lifesky\.ru$ [NC] RewriteRule ^(.*)$ https://lifesky.ru/$1 [R=301,L] RedirectMatch 301 ^/p/(.*) /aero/$1 ErrorDocument 403 https://lifesky.ru/ ErrorDocument 404 /e404/index.html AddType video/ogg .ogv AddType video/mp4 .mp4 AddType video/webm .webm Redirect 301 /aero/city/ /aero/index.html Redirect 301 /doc/license/ /doc/index.html <Files ~ "\.(p|cfg|htaccess)$"> Order allow,deny Deny from all </Files> <ifModule mod_headers.c> <FilesMatch "\.(html|p)$"> Header set Cache-Control "max-age=43200" </FilesMatch> <FilesMatch "\.(js|css|txt)$"> Header set Cache-Control "max-age=604800" </FilesMatch> <FilesMatch "\.(flv|swf|ico|gif|jpg|jpeg|png)$"> Header set Cache-Control "max-age=2592000" </FilesMatch> <FilesMatch "\.(pl|php|cgi|spl|scgi|fcgi)$"> Header unset Cache-Control </FilesMatch> </IfModule> <ifModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 5 seconds" ExpiresByType image/x-icon "access plus 2592000 seconds" ExpiresByType image/jpeg "access plus 2592000 seconds" ExpiresByType image/png "access plus 2592000 seconds" ExpiresByType image/gif "access plus 2592000 seconds" ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds" ExpiresByType text/css "access plus 604800 seconds" ExpiresByType text/javascript "access plus 604800 seconds" ExpiresByType application/javascript "access plus 604800 seconds" ExpiresByType application/x-javascript "access plus 604800 seconds" ExpiresByType text/html "access plus 43200 seconds" ExpiresByType application/xhtml+xml "access plus 600 seconds" </ifModule>