terryv
06-23-2009, 05:58 PM
Hello
I am trying to password protect a folder in my domain.
I have the .htpasswd file located on the root of my domain "/.htpasswd"
I have a folder called SWCD in the public html folder - this I want password protected.
In the SWCD folder I have the .htaccess file which contains the following:
AuthUserFile /.htpasswd
AuthName "Restricted Area"
AuthType Basic
require valid-user
In the .htpasswd file, I have 1 line.
Username:Encryptedpassword
When I try to access the folder mydomain.net/SWCD, it tells me:
"A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again."
Any suggestions on what the problem could be? When I get prompted for the password, I put in the "UnEncrypted" password (Which was encrypted by using an encryption program. I have tried several of them.
Thank you
Terry
I am trying to password protect a folder in my domain.
I have the .htpasswd file located on the root of my domain "/.htpasswd"
I have a folder called SWCD in the public html folder - this I want password protected.
In the SWCD folder I have the .htaccess file which contains the following:
AuthUserFile /.htpasswd
AuthName "Restricted Area"
AuthType Basic
require valid-user
In the .htpasswd file, I have 1 line.
Username:Encryptedpassword
When I try to access the folder mydomain.net/SWCD, it tells me:
"A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again."
Any suggestions on what the problem could be? When I get prompted for the password, I put in the "UnEncrypted" password (Which was encrypted by using an encryption program. I have tried several of them.
Thank you
Terry