I'm trying to setup a HTTP authentication through my .htaccess file (which im placing in the directory i want password protected) but for some reason it's not finding my users file. The .htaccess file has the following:
AuthName "Password Protected"
AuthType Basic
AuthUserFile ../../users/user
<limit GET>
require user jane
</limit>
As you can see in the code above I have my "user" file in a directory called users but for some reason my .htaccess file can't locate it. I do get a username/password prompt when trying to access the directory through HTTP however the user name: jane and its corresponding password dont seem to work. It's almost as if my .htaccess file is ignoring the "AuthUserFile" line. Can anyone tell me why this is happening? Im on win2000pro/Apache running PHP as a module.