ПРОЕКТЫ 


  АРХИВ 


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]

RewriteRule как правильно перепис ать ?


  • To: nginx-ru@xxxxxxxxx
  • Subject: RewriteRule как правильно перепис ать ?
  • From: Da1VeR -- <lordwincento@xxxxxxxxx>
  • Date: Wed, 15 Jul 2009 09:54:05 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=kjX7rikSsqth96aGZpkxC9gtWVAfVFY8/3Mm6TcXqJY=; b=rhfeHHpsl274cHuz3qmQIyRit9fivjxayvUSf5g1xlQ3NQVOsoi1YZVM0sWsoB0eZk vIZRHBI2qWSvrHG1jZSOQ3bjh9ksJ3gQk2FnDWay/pOqi44xKnjGtlf+K90I93oCCRNE JTwm6liZqS1yahpmN0YforIjLJOdLB361bA+I=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=dbvP04ZOZUGHnviH9QCYQY98YfQThsdc97fVjjPihGsu/YUiPjDiZZTeTybyPSYuic +TNmvWhE0QaF/AJNLiJLPwQr4cUCSM1LVQlu64nhnirQP7Vp7ycy5Iqb0XNUdZ8tPziz H19ZZi6MxkLiDQKN18XyxMXA9I51nv/B5+PoQ=

Здраствуйте... есть такие правила:

[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 ?



 




Copyright © Lexa Software, 1996-2009.