Click to See Complete Forum and Search --> : Htaccess on win-apache WIN2k


Anon
05-02-2002, 01:38 AM
Ok.. call me damn.. cause i propably am ... but i have a little issue here.. i managed to protect my pages once with htaccess authentication on linux... but on windows .. im lost...

The problem is this..

i have setup my htaccess and it works fine.. the little window pops up and it asks me for my user name and password.. Then i have a user-password file (created with htpasswd with md5 encryption wich is standard for win2k)... Now.. how do i point my htaccess to use my user-password file..

for instance in linux i wrote

/usr/local/passwd/users

now in Win2k what should i write to make this happen... ?

e:\users\passwd-file for example ?

sanks in advance for any reply.. and please.. dont shoot me... :)


PS.
I have already done a search to find out how to do this.. but now hope for me... Only linux tutorials.. :(

sanks again.. :p

Anon
05-02-2002, 05:48 AM
I don't know too much about it but I read somewhere that on W2K you should use forward slashes or escape (i.e. double) the backward slashes.

Good luck,
Frans

Anon
05-02-2002, 07:17 AM
In htaccess file:

AuthName "Intranet Innova"
AuthType Basic

AuthUserFile "c:/where/is/users.txt"
require user xxxx