А РХИВ :: 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
To : nginx-ru@xxxxxxxxx
Subject : Re: Правила rewrite
From : Naf Nafof <nafania293@xxxxxxxxx >
Date: Thu, 15 Apr 2010 09:33:41 +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:received:message-id:subject:from:to:content-type; bh=Zczw/oHTHnAvVGr4gJrVjAGU+Fwv9rgddGsYaRm5odg=; b=TxbcKnOGVeaNMqfmtwAyTZOStmRQufcN3emF8I88GDqpoJ86Dpw1n6cleX2lTYG6l6 vZjknRzTeykTjosLfl5wWk6hPKTSaWlmdp/Y5xoieEx2mBxx0GrJjeaPYBfwZ6XVyqaW tXYVV2Ng4WS4nCfh8FzjTDNGQefdBKtE6ePUw=
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; b=huKwkySJydlZMgY/3aywUfsj5yNpxTi3+xOfh17Aa9aNmx7F4Odd+XY2perCtQRftO XurcWFfWp2G05Ur1ggehy0TYmBX4voFIKO4nLWOAqjnMsY+qnHnutMadlqNJIn3i1V6J AtL+duDZ4WZGMK/78PRvqNzJea7ohHIV1CILA=
In-reply-to: <f2cf12e74da5d28447c970fb108011e5.NginxMailingListRussian@xxxxxxxxxxxxxxx >
References: <f2cf12e74da5d28447c970fb108011e5.NginxMailingListRussian@xxxxxxxxxxxxxxx >
Все простые правила переписываются, имхо, заменой RewriteRule на rewrite и добавлением last; в конце, то есть типа rewrite ^page/(.*)$ index.php?cstart=$1 last; rewrite ^getvideo/([0-9]+).flv$ engine/grabvideo.php?action="" last;
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru