RewriteCond %{REQUEST_URI} ^(.*)/special/(.*)$
RewriteRule ^(.*)$ %1/special/inde.x.php/%2 [R=301,L]
RewriteRule RewriteRule ^category-([^-]*)-product_id-([^-]*)\.html$ /products-page/?category=$1&product_id=$2 [L,QSA]
RewriteEngine On
RewriteBase /
RewriteRule ^category-([^-]*)-product_id-([^-]*)\.html$ /products-page/?category=$1&product_id=$2 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^category-([^-]*)-product_id-([^-]*)\.html$ /products-page/?category=$1&product_id=$2 [L,QSA]
RewriteRule . /index.php [L]
Redirect 301 index.php/catalog/category/view/12 /goods_caregory/dvigatel-cummins-4bt-6b
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteRule !.(gif|jpg|png|ico|swf|txt|js|css|zip|htc|ttf)$ rw.php [L]
RewriteCond %{REQUEST_URI} !default.html
RewriteRule !.(gif|jpg|png|ico|swf|txt|js|css|zip|htc|ttf)$ rw.php [L]
RewriteCond %{REQUEST_URI} ^/forum/(.*)$ [QSA,L,NC]
RewriteRule ^(.*)$ http:/forum.cantorsys.com/%1 [R=301,L]
RewriteCond %{REQUEST_URI} ^(index.php/.*/[0-9{1,}]/)(.*)
RewriteRule . %1 [R=301,L]
RewriteCond %{QUERY_STRING} ^id=1&bla=2&blabla=3$
RewriteCond %{REQUEST_FILENAME} !mychpu$
RewriteRule ^.*$ http://site.com/mychpu [R=301,L]
RewriteCond %{REQUEST_URI} ^(.*)/index\.php$
RewriteRule ^(.*)index\.php$ http://%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{QUERY_STRING} (^|&)p=[0-9][0-9][0-9]($|&)
RewriteRule ^domen\.ru/$ /domen.ru/? [L,R=301]
[0-9][0-9][0-9]
error_page 555 = @pass;
location @pass {
auth_basic "Unauthorized";
auth_basic_user_file /var/www/dev_htpasswd;
proxy_pass http://127.0.0.1:82;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
if ($http_host ~* "^(dev|old|www.old|www.dev)\..*\..{2,8}$"){
return 555;
}
if ($http_host ~* "^.*\.ks03\.ru$"){
return 555;
}
}