Hallo,

I want a login for this location.

    location /TEST/ {
       alias /www/c2c/;
       }

With 
  
  location /TEST/ {
       alias /www/c2c/;
       auth_basic "Test Auth";
      }

no username/password box in the browser. I see the index.html site from the
c2c folder


With

    location /TEST/ {
       alias /www/c2c/;
       auth_basic "Test Auth";
       auth_basic_user_file /nginx/conf/htpasswd;
       }

and an "404 Not Found" error shows the browser.

I use  nginx 1.7.2

Where is the problem?

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

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to