httpauth bug or my config mistake?

maar3amt nginx-forum at nginx.us
Wed Nov 17 09:30:37 MSK 2010


Hi

i try set up http auth in one of my domain sub-folder but  httpauth not
work properly.

mys conf.


            location /adm/ {
            auth_basic Restrito;
            auth_basic_user_file /var/www/tv/adm/.htpasswd;
            }


Ii type http://mydomain.com/adm/ ask for credentials prompt but if type
http://mydomain.com/adm/index.php not show any credentials prompt and
protected page are printed.

Thak's for any help

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,151328,151328#msg-151328




More information about the nginx mailing list