А РХИВ :: 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-правила для pre-build динамики
To : nginx-ru@xxxxxxxxx
Subject : Re: rewrite-правила для pre-build динамики
From : Roxis <roxis@xxxxxxx >
Date: Tue, 29 Jan 2008 21:55:41 +0100
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:references:in-reply-to:x-face:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; bh=M4nmJWbtRPUsr8toPEx+1et+aiOIB+6emQSTHWB7DI4=; b=lXBvleAio/yb7yQrNDDNPQ4+w6sBDshcaogogpEGdbZmvCf8+GUlk+kI6apDBbDMv/puc8U2rlbx/ZeDsU5ynfpd79DwekGfaA1ab2I2aA3aGahTtz7Z1VrHjaG8BuCTvgqr6r7PFjmJZA/KdXUDM5eMuP3nRvJnZLW8ylgaA78=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:references:in-reply-to:x-face:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=LB3gLQ2SbCsuGE7etxRM/Zj7UDOBWYkrufLdfGLHbku6UuDwBMCNo7Cq7W2DyYTiHtTRv441VthgobeeX0lB5B5ZNhxkkBjhu/D3auRWih3OCu+0+i2mW5H2U40D2IXCI/igrfjJJhHkAIDbCSqeata650D/fohYcKdoB19a6yM=
In-reply-to: <1bc8f7b10801291233obcfe132t55bde59cdac4ff13@xxxxxxxxxxxxxx >
References: <1bc8f7b10801291233obcfe132t55bde59cdac4ff13@xxxxxxxxxxxxxx >
On Tuesday 29 January 2008, Igor Zakharov wrote:
> rewrite ^/cgi-bin/index\.pl$ /static/$host/index.pl? last;
>
> но почему-то под регексп
> ^/cgi-bin/index\.pl$
> попадает запрос
> /cgi-bin/index.pl?a=b
> а это мне не подходит.
директива rewrite проверяет URI без аргументов