Igor any change auth_basic_user_file can accept the new regex stuff?

mike mike503 at gmail.com
Thu Mar 12 20:25:14 MSK 2009


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.





More information about the nginx mailing list