А РХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev ][Date Next ][Thread Prev ][Thread Next ][Date Index ][Thread Index ]
Re: access module и rewrite
To : nginx-ru@xxxxxxxxx
Subject : Re: access module и rewrite
From : Sergey Shepelev <temotor@xxxxxxxxx >
Date: Wed, 24 Jun 2009 20:31:44 +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=lhUNYOLeAYM3Hm/sn0B2jqYFyWH50FGDlcaFwZPtM/I=; b=NZzkaTsp0P5EZAbTCscyYEIQw4q0SKaXz6cX/fQOpvQwL33I2bMbDhKFhNDDVh7Oa8 dmLsSRpkRi56Y13V/edVNiRK6UxKrvGcUZ+rQt9NgjNLyV54SYWls1PZIUMk7HlaKtZs DgclhU1rz5OYMGsd+7gl/CfeSbSJZ4U5uLvdM=
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=dkkjYGen9kyoJOdPGQceaTbnSuKemmipQev1gauPD313esv5KsNjCgVmdzI3JG+aUu zpTpqH4A2X9wjgWCEafS1Nky/BIaJY7wTkXr2c5WCnn0tP0ha32CDyPGqGHQnjo2Tbgd ul6SYvjgXtNvGMPHVAZRxbjqityKpEiRmbAoU=
In-reply-to: <4A4252AE.4090604@xxxxxxxxx >
References: <4A4252AE.4090604@xxxxxxxxx >
2009/6/24 Konstantin Belov <belov1985@xxxxxxxxx>:
> Конструкция:
>
> location /registration {
> deny all;
- rewrite ^/ /url last;
> }
>
>
> в итоге реврайт срабатывает и ограничение доступа не работает :(
> как быть?
>
>
Вам что надо - реврайт или deny?