-
.htaccess/.htpasswd
I recently took charge of a website that I have to admin and redesign that needs a password protected area for about 2 pages. I'm trying to use htaccess and the prompt box comes up but it won't accept my password! I should mention that I only have FTP access to the site and don't know anything about the services provided by the host. I pretty much got the login info from a guy who got it from the original founder. Basically, I created a folder in root (phi) and put the .htaccess and .htpasswd in there.
.htaccess:
AuthUserFile /phi/.htpasswd
AuthGroupFile /dev/null
AuthName "Password Protected Area"
AuthType Basic
<limit GET POST>
require valid-user
</limit>
.htpasswd:
phi:dD26RnoqO7yTs
(user name and directory are both called 'phi')
-
Are you sure you have the right password?
It's best if you use the control panel feature, if you have one, and it. "Password protected directories" or "passworded folders" may be what to look out for. If you don't have this feature, you can use http://tools.dynamicdrive.com/password/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules