ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: 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;
    }

?? ?²???? ???°?? ?? ??????? °????????????, ???? ???????????°???????? =(. ?????? ???????????? ?????????? ?????????????

--




 




Copyright © Lexa Software, 1996-2009.