Soldato
- Joined
- 12 Feb 2006
- Posts
- 17,672
- Location
- Surrey
i'm trying to protect a directory by adding htaccess username and password verification.
i uploaded and it asked for username/password so thought i'd test by trying wrong details. i then got a 500 internal error and that's all i get now which is a pain as i'd like to try again.
any thing i'm doing wrong?
this is what i have...
.htaccess file
.htpasswd file
i uploaded and it asked for username/password so thought i'd test by trying wrong details. i then got a 500 internal error and that's all i get now which is a pain as i'd like to try again.
any thing i'm doing wrong?
this is what i have...
.htaccess file
Code:
AuthType Basic
AuthName "This is a protected area"
AuthUserFile /home/xyz/public_html/php/upload
Require valid-user
.htpasswd file
Code:
admin:OdfRyggFdf2Z/gI