ПРОЕКТЫ 


  АРХИВ 


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: RewriteRule как правильно переп исать ?


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: RewriteRule как правильно переп исать ?
  • From: Sergey Konyshev <skonyshev@xxxxxxxxx>
  • Date: Wed, 15 Jul 2009 13:27:51 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=baR4TQLkAu8n6g4EvBSALqAI4ovt4UmNzXO706Nz+oo=; b=JGJ6PE/B8DKRV3jylgBpJtJXQkZrMZ4/jooFCE7IVEDl57A8s/+2bvS79ncrhaSrdx 1SwjTBscyIdqEl5ScZilzoYxHvY9Nhvyh2SAYxelKD3MvXK/7v7fsdzgUvQ8r5XLTlgk YPZOUPh85hPtp4OKlK44dYWz3DHKV9xwtd9rA=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=arL0b7Kp3V0VOZvUVJRMByGLIp7rWx8AmIcvehq98ZL7qBEhHuZCGCoDCqtx0xWE8B yaYoHU+OO5AoE+ePgIemY2j3DsoJSvejeK3picmIkcxHPOzpMo+30sTHdyNjyJfz+AxO DzMv1RYtlmAbHyik29TKx2a6kWCASnyZu+ClM=
  • In-reply-to: <330ce1510907142354y3651d778ud4933fffcb4acc98@xxxxxxxxxxxxxx>
  • References: <330ce1510907142354y3651d778ud4933fffcb4acc98@xxxxxxxxxxxxxx>

Для начала надо просто прочитать мануал.

2009/7/15 Da1VeR -- <lordwincento@xxxxxxxxx>:
> Здраствуйте... есть такие правила:
>
> [ISAPI_Rewrite]
> RewriteRule /catalog/(.*) /catalog/$1 [L]
> RewriteRule /lib/(.*) /lib/$1 [L]
> RewriteRule /skins/(.*) /skins/$1 [L]
> RewriteRule /payments/(.*) /payments/$1 [L]
> RewriteRule /images/(.*) /images/$1 [L]
> RewriteRule /index\.php(.*) /index.php$1 [L]
> RewriteRule /admin\.php(.*) /admin.php$1 [L]
> RewriteRule ^(.*)$ /index.php?sef_rewrite=1 [I,L,QSA]
>
> как их переписать под nginx ?
>
>



-- 
Regards,
Sergey Konyshev
skonyshev@xxxxxxxxx



 




Copyright © Lexa Software, 1996-2009.