Igor any change auth_basic_user_file can accept the new regex stuff?

Igor Sysoev is at rambler-co.ru
Thu Mar 12 22:54:54 MSK 2009

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

More information about the nginx mailing list