basic auth

Greg Benedict gbenedict at gmail.com
Sat Jul 14 08:20:42 MSD 2007


I've run into an issue using basic auth that I could use some help
with. When you go to a page, it pops up for credentials, but
regardless of entry (good or bad) it returns a 500 error.

location / {
     auth_basic              "Restricted";
     auth_basic_user_file    /var/www/domains/domain/current/conf/htpasswd;

}

the htpasswd file mentioned above was created using the htpasswd
command, default (crypt) encryption.

I've tried 0.5.25, 0.5.27 and 0.6.3 to double check.

Thanks in advance for any help you can provide.

-- 
Thanks,

Greg Benedict





More information about the nginx mailing list