Whilst we're on the topic I might aswell post the problem I'm having. I've read heaps of articles and people say authentication can be done on windows but im yet to find out.
This is in the httpd.conf file:
<Directory "C:/Program Files/Apache Group/Apache2/htdocs">
Options Indexes FollowSymLinks
AuthUserFile "C:/Program Files/Apache Group/Apache2/htdocs/.htpasswd"
AuthGroupFile /dev/null
AuthName "Private"
AuthType Basic
Require valid-user
AllowOverride All
Order allow,deny
Allow from all
</Directory>
my htpasswd file looks like this:
admin:$apr1$Gr1.....$2vsoPuNxjmBmgasIJUONt0
which is admin:test in plain text
now the problem I'm having is that it doesn't seem to pick up I've even got anything there. I'm sure it must be in the code because I've closed my browser and reset apache after every change before testing to see if it works and it doesn't.
I've got apache2 installed and on a winxp pro machine.
Thanks for any help you guys can dish out 🙂