A while ago it all used to work, but now it doesn't and I can't get it working again :(
I have 2 dirs I wan't to protect
In my httpd.conf are these parts:
Options All Indexes FollowSymLinks MultiViews ExecCGI
Options All FollowSymLinks MultiViews ExecCGI
c:\website is my site root and c:\web is an other dir with files wich shouldn't be very accessable by the web.
I have my .htpasswd stored in c:\web, but in c:\website is doesn't work either (even if I change it in httpd.conf ;))
So, can someone help me out?
... I've fixed it :D
It took some time for me to find out, but I did it :p
For those who even care; what I did is, I've re´nstalled my PHP Module and this solved my problem with the header always returning 500 Internal Server Error. With this header already set it was impossible to send 401 Authorization Required, so the browser didn't know authorization was required and didn't popup a "enter name and password" alert.