I have a site:
- Code: Select all
xampp/htdocs/site/statssite/admin
and inside there I have what you would expect of a site, and index etc blah blah blah. I also have .htaccess and .htpassword files.
.htaccess file:
- Code: Select all
AuthType Basic
AuthName "Admin Only"
AuthUserFile /site/StatsSite/admin/.htpasswd
require valid-user
.htpassword file:
- Code: Select all
user:papAq5PwY/QQM
(in other words username is user, password is password, yes I will change it to something more secure once I actually get it working).
But whenever I log in, I get a page looking like this:
I have set the httpd.conf AllowOverride to 'ALL', but it still doesn't work.
Anybody help me?