Well, I've done like you say, but I don't get it to work. What is wrong?
AuthUserFile /pf/phpmyadmin/.htpasswd
AuthName "Login - Sven David`s Site"
AuthType Basic
require valid-user
Same setup as you
Well, I've done like you say, but I don't get it to work. What is wrong?
AuthUserFile /pf/phpmyadmin/.htpasswd
AuthName "Login - Sven David`s Site"
AuthType Basic
require valid-user
Same setup as you
Ok ok, I got it! thanks for the help!
but but, I can't log in. Any example of a valid password file? I used one encryptet for Unix, but didn't work. It didn't work with plan text either.
WHat's wrong?
user:pass does this not work?
You need to use the htpasswd.exe included in the apache/bin/ directory. You'll need to get to a command prompt, change to the apache bin directory, and follow the steps in this tutorial (only you'll need to set up the file permissions as per your windows machine):
http://www.colostate.edu/~ric/htpass.html
Es gibt 2 Stellen in der httpd.conf die geaendert werden sollten auf
allowoverride all nicht nur die wo directory / steht sondern auch die weiter unten
I have the same problem that I can get the login screen up, but all accounts I created were "incorrect Password or userID"
Also...how do you create a ".htaccess" or .anything for that matter?? You need a file name...I am assuming xxxx.htaccess but that doesnt work.... Im thinking this could be the sourc eof my problem.
This solution didnt wok for me in windows 2000, apache server when my .htacess was:
AuthType Basic
AuthName "By Invitation Only"
AuthUserFile /WWW/.htpasswd
Require username
However, it worked when I did the following:
AuthType Basic
AuthName "By Invitation Only"
AuthUserFile c:/WWW/.htpasswd
<Limit GET>
require valid-user
</Limit>
[As Savage has suggested, In he "httpd.conf" the setting: "AllowOverride None"
to be changed to : "AllowOverride All"
to make this work]
thanks to all
sorry!
I enclosed "require valid-user" with "Limit".. "/Limit" tags (it seems tags is not coming visible)
so, please read:
<Limit GET>
require valid-user
</Limit>
instead of:
"require valid-user" in prev. link.
This site may help...it contains detailed instructions to get HTACCESS working on Windows with Apache..
Create the file with notepad, etc and save as x.htaccess. Then you can save as .htaccess if you rename the file with dos prompt.
C:...> rename x.htaccess .htaccess
I can not get my .htaccess file to work.... is there a detailed step by step way to get this done? -Dave
THANK YOU, YOU AND THE AUTHOR OF THAT ARE GOD! lol, maybe not...
oh man.. how can u say such a lie.
the address below is crap..