Masterslave
12-21-2005, 09:30 AM
Hello guys,
I've a problem with securing a folder on my site. I've made a .htpasswd file with Linux Debian. I've entered "htpasswd -c .htpasswd patrick" and then I've entered my password twice.
Then I've made a .htaccess file with the following lines:
AuthName "Restricted Area"
AuthType Basic
AuthUserFile d:/easyphp1-8/www/patrickkraaij/htaccess/.htpasswd
AuthGroupFile /dev/null
require valid-user
Below this text are the lines from the .htpasswd
patrick:QUdEUoUIlnZHM
I've put the two files in the right directory as given in the .htaccess file.
When I browse to that location, the broswer prompt and give me a Login screen, so far so good. When I enter the usr "patrick" and the password given in the .htpasswd it does not match, I get a redirect and I must login again, so it doesn't work, I don't get it.
I've also tried this tutorial http://www.mousewhisperer.co.uk/htaccess_page.html
And it does the same, I can't login. It drive me nuts!:(
Do I have to enable something in the php.ini file or something?
I've search the forum but I couldn't find something useful.
I've a problem with securing a folder on my site. I've made a .htpasswd file with Linux Debian. I've entered "htpasswd -c .htpasswd patrick" and then I've entered my password twice.
Then I've made a .htaccess file with the following lines:
AuthName "Restricted Area"
AuthType Basic
AuthUserFile d:/easyphp1-8/www/patrickkraaij/htaccess/.htpasswd
AuthGroupFile /dev/null
require valid-user
Below this text are the lines from the .htpasswd
patrick:QUdEUoUIlnZHM
I've put the two files in the right directory as given in the .htaccess file.
When I browse to that location, the broswer prompt and give me a Login screen, so far so good. When I enter the usr "patrick" and the password given in the .htpasswd it does not match, I get a redirect and I must login again, so it doesn't work, I don't get it.
I've also tried this tutorial http://www.mousewhisperer.co.uk/htaccess_page.html
And it does the same, I can't login. It drive me nuts!:(
Do I have to enable something in the php.ini file or something?
I've search the forum but I couldn't find something useful.