Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.htaccess and .htpasswd files

Status
Not open for further replies.

dagoat10

Programmer
Jun 3, 2010
74
US
I have been trying to use the .htaccess file and .htpasswd file for password protecting my website, but the .htaccess login pops-up but is not reading the .htpasswd file. They are in the same directory. I have been typing the username and password correctly. so what could my problem be?

Here is the file:

Code:
AuthUserFile ./.htpasswd
AuthName Test
AuthType Basic
require valid-user
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top