I am trying to password protect a folder on my system for admin rights but for some reason I keep getting an error "access to /admin failed, reason: verification of user id '<null>' not configured".
I have recreated my password file (using htdigest) and have the Directory set as follows in my httpd.conf file:
<Directory "D:\Inetpub\ AuthType Digest
AuthName "S. Muir (UK) Ltd. Admin Area"
AuthUserFile D:\Inetpub\ Require valid-user
</Directory>
I used to have it working but recently I did a reformat of my system and now it won't work. Like an idiot, I forgot to backup my original httpd.conf file!
Can anyone advise as to what I maybe doing wrong?
Apache 2.2 / PHP 5.2.6 running on Windows XP Pro SP3.
I have recreated my password file (using htdigest) and have the Directory set as follows in my httpd.conf file:
<Directory "D:\Inetpub\ AuthType Digest
AuthName "S. Muir (UK) Ltd. Admin Area"
AuthUserFile D:\Inetpub\ Require valid-user
</Directory>
I used to have it working but recently I did a reformat of my system and now it won't work. Like an idiot, I forgot to backup my original httpd.conf file!
Can anyone advise as to what I maybe doing wrong?
Apache 2.2 / PHP 5.2.6 running on Windows XP Pro SP3.