Hello
I have Apache 2.0 for Win32 installed on my XP box along with ActiveState's Perl , Sendmail, etc and it all works great. I could'nt be happier!. However, I have tried to get .htaccess working until I am blue in the face and while this is *supposed* to be a simple thing, it has proven to be very problematic for me. What am I doing wrong here please?.
Ok, here's the scoop...
I have my .htpasswd file installed in:
"C:Program Files\Apache Group\Apache2\".
The .htpasswd file contains exactly the following:
shoefly:greenman
I have my .htaccess file installed in the folder I want to password protect. That folder is here:
"C:Program Files\Apache Group\Apache2\htdocs\private".
The .htaccess file contains exactly the following (but I've tried a number of variations):
AuthUserFile /Apache2/.htpasswd
AuthGroupFile /dev/null
AuthName "Sound Effects Library"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
The only other thing I've done is to change the "AllowOverride" directive in the Apache /conf/httpd file from "None" to "All" (I've also tried others).
My problem is that while the login screen comes up with no problem when I attempt to enter the protected folder, it will not accept the username/password I used in the .htpasswd file. I've tried it encrypted and plain text.
Finally, is that little utility in Apache's bin folder (htpasswd.exe) really necessary in order to create password-protected folders and use .htaccess or can I just do this manually with a few simple text files in NotePad.
Well, Hope I've explained this ok. Thank's in advance for any help on this perplexing issue (I'm getting desparate now!)






Bookmarks