|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
.htaccess
I am trying to set up a password protected directory using .htaccess. Every time I try to enter a protected .html it prompts me for the password but the correct password never works. I am using netfirms advantage hosting and have .htaccess enabled. Here's the configuration:
(.htaccess file) AuthName "Verified" AuthType Basic AuthUserFile /cgi-bin/.htpasswd Require valid-user (.htpasswd file) tim:H/YJz6jOmXucU I created both files with notepad. Is this correct? |
|
#2
|
|||
|
|||
|
The password file needs to be created with apache's htpasswd utility instead of notepad.
Check out Apache's documentation for information on using this utility. http://httpd.apache.org/docs-2.0/ho...ettingitworking |
|
#3
|
|||
|
|||
|
what's your operating system?
__________________
Apache Expert |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > .htaccess |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|