123456789101112131415161718192021222324252627282930313233343536373839 |
- Options -Indexes
- ErrorDocument 404 /404.php
- <IfModule mod_rewrite.c>
- Options +FollowSymLinks
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} -f [OR]
- RewriteCond %{REQUEST_FILENAME} -l [OR]
- RewriteCond %{REQUEST_FILENAME} -d
- RewriteCond %{REQUEST_FILENAME} [\xC2-\xDF][\x80-\xBF] [OR]
- RewriteCond %{REQUEST_FILENAME} \xE0[\xA0-\xBF][\x80-\xBF] [OR]
- RewriteCond %{REQUEST_FILENAME} [\xE1-\xEC\xEE\xEF][\x80-\xBF]{2} [OR]
- RewriteCond %{REQUEST_FILENAME} \xED[\x80-\x9F][\x80-\xBF] [OR]
- RewriteCond %{REQUEST_FILENAME} \xF0[\x90-\xBF][\x80-\xBF]{2} [OR]
- RewriteCond %{REQUEST_FILENAME} [\xF1-\xF3][\x80-\xBF]{3} [OR]
- RewriteCond %{REQUEST_FILENAME} \xF4[\x80-\x8F][\x80-\xBF]{2}
- RewriteCond %{REQUEST_FILENAME} !/bitrix/virtual_file_system.php$
- RewriteRule ^(.*)$ /bitrix/virtual_file_system.php [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-l
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$
- RewriteRule ^(.*)$ /bitrix/urlrewrite.php [L]
- RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
- </IfModule>
- <IfModule mod_dir.c>
- DirectoryIndex index.php index.html
- </IfModule>
- <IfModule mod_expires.c>
- ExpiresActive on
- ExpiresByType image/jpeg "access plus 3 day"
- ExpiresByType image/gif "access plus 3 day"
- ExpiresByType image/png "access plus 3 day"
- ExpiresByType text/css "access plus 3 day"
- ExpiresByType application/javascript "access plus 3 day"
- </IfModule>
|