Welcome! Log In Create A New Profile

Advanced

Error with Htpass, what have I done wrong?

Posted by spadez 
Error with Htpass, what have I done wrong?
June 13, 2012 08:11AM
Hi,

Im new to this but I used shell to run this command:

cd /etc/nginx
htpasswd -b htpass user temp

Then in my config I have this:

auth_basic "Restricted";
auth_basic_user_file /etc/nginx/htpasswd;

When I go to my site I see the login box but using the "user / temp" credentials dont work. Can someone explain what I am doing wrong please?

James



Edited 1 time(s). Last edit at 06/13/2012 08:12AM by spadez.
Re: Error with Htpass, what have I done wrong?
June 14, 2012 09:57AM
Cheeky bump
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 210
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready