Igor any change auth_basic_user_file can accept the new regex stuff?

mike mike503 at gmail.com
Thu Mar 12 23:26:07 MSK 2009


Yes please!

Thanks :)

On Thu, Mar 12, 2009 at 12:54 PM, Igor Sysoev <is at rambler-co.ru> wrote:
> On Thu, Mar 12, 2009 at 10:25:14AM -0700, mike wrote:
>
>> i.e.:
>>
>> location ~* ^/foo/private/(.*) {
>>    alias /home/foo/web/private/$1/;
>>    auth_basic "Restricted files";
>>    auth_basic_user_file /home/foo/web/private/$1/.htpasswd;
>> }
>>
>> Thank you so much for your time and effort in nginx! Hopefully this is
>> pretty trivial.
>
> There's patch by Kirill A. Korinskiy in Russian mailing list, that
> allows variables in auth_basic_user_file. I will look it and if it's good,
> will include it.
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
>





More information about the nginx mailing list