|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rewrite из apache в nginx
непонятно ...
On 30.01.2008, at 0:06, Vasiliy G Tolstov wrote:
?????·?????????° ???????????????°
?? ???????????????????? rewrite ?????
°?²???? ???· apache ?² nginx
RewriteRule ^(.*)/$
index.php?url_path=$1
RewriteRule ^(.*)/([0-9]+)$ index.php?url_path=$1&page=$2
RewriteRule ^(.*)/([0-9]+).html$ info.php?url_path=$1&ads_id=$2
RewriteRule
^([A-Za-z0-9_]+)$ index.php?city_filename=$1&set_city_id=1
???????²???? ???????????????°?? ?²
location / {
rewrite
^/(.*)/$ index.php?url_path=$1 last;
}
?? ?²???? ???°?? ?? ???????
°????????????,
???? ???????????°???????? =(. ??????
???????????? ??????????
?????????????
--
|
|
|