Master-X
Форум | Новости | Статьи
Главная » Форум » Программинг, Скрипты, Софт, Сервисы » 
Тема: Помогите по htaccess
цитата
17/09/08 в 13:33
 sergey767
Нужно в RewriteRule сделать исключение на перезапись файла file.html
Перерыл весь инет, так-как в этом особо не селён, но толком ничего не нашел, если кто-то в курсе как это сделать - помогите, пожалуйста, буду очень признателен

Конфигурация htaccess
ErrorDocument 404 /index.php?section=404
#Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond ${REQUEST_FILENAME} !-d
RewriteCond ${REQUEST_FILENAME} !-f
RewriteRule ^catalog/([^/]+)/([^/]+)/([^/]+).html$ index.php?section=4&category=$1&brand=$2&item_id=$3 [L]
RewriteRule ^catalog/([^/]+)/([^/]+)/([0-9]+)/?$ index.php?section=4&category=$1&brand=$2&page=$3 [L]
RewriteRule ^catalog/([^/]+)/([0-9]+)/?$ index.php?section=4&category=$1&page=$2 [L]
RewriteRule ^catalog/([^/]+)/([^/]+)/?$ index.php?section=4&category=$1&brand=$2 [L]
RewriteRule ^catalog/([^/]+)/?$ index.php?section=4&category=$1 [L]
RewriteRule ^catalog/?$ index.php?section=4 [L]
RewriteRule ^([^/]+).html$ index.php?section=$1 [L]
RewriteRule ^articles/([^/]+).html$ index.php?section=5&article_id=$1 [L]
RewriteRule ^articles/?$ index.php?section=5 [L]
RewriteRule ^news/([^/]+).html$ index.php?section=3&news_id=$1 [L]
RewriteRule ^news/?$ index.php?section=3 [L]
RewriteRule ^basket/?$ index.php?section=7
RewriteRule ^logout/?$ index.php?section=8&action=logout
RewriteRule ^login/?$ index.php?section=8
RewriteRule ^register/?$ index.php?section=9


Эта страница в полной версии