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.