-
.Htaccess
I have the following set up in a .htaccess file running on an apache server:
AuthUserFile /passwords/.htpasswd
AuthGroupFile /dev/null
AuthName Admin
AuthType Basic
<Limit GET>
require user Admin
</Limit>
With the .htpasswd file in C:/Perl/web site/passwords/.htpasswd, but when ever i try to access the directory the username Admin, and the password set up with it doesnt work. Has anyone got any clue as to why?
Thanks
Sythe
-
As far as I know that the .htpasswd goes into the same place as .htaccess does. I am not sure of your paths but for example,,
/usr/www/web/mysite.com/.htpasswd
mine on windows version of apache would be
/Program Files/Apache Group/Apache/htdocs/mysite
it should be iun the default path of apache for your localhost address
does that help?
-
Thanks for the reply, i am now unable to test this because the Htpasswd.exe i was using was a fake :(
So could anyone please tell me where i can get myself a copy of the compiled Htpasswd.exe, or tell me how to compile it.
Someone told me i should already have a compiled version in my Apache\bin file, but i dont even have this file :(
Thanks again
Sythe,
P.S im running apace on a windows system
-
what version do you have. I have a copy I can email you. I don't know if the version matter or anything. plus i don't know if it makes a difference as to what type of windows you are using. I have win98 with version 1.3.20 win32 version.
we could try it though, so let me know
-
I have exactly the same, could you please e-mail it to [email protected]
Thanks a lot!
Sythe
-