PDA

View Full Version : password protect


boblob
5-15-04, 12:19 PM
ok i made a .htaccess and put it in mydomain/osCommerce/catalog/admin
replaceing the .htaccess that was allready there
and when i try and log into it i do get the "what is your password"
but i tried putting the .htpasswd in to two different places
one where my index file is located and that didnt work
two where my htdocs and cig bin are located and that didnt work?
so i guess im at a loss as to what im to do
any one know a fix thanks in advance for any help

BerksWebGuy
5-15-04, 02:16 PM
post your .htaccess contents here...just put in a dummy username and password.

Also...did you upload both files in ASCII (not binary)...did you create both in a simple text editor like notepad (not wordpad)??

Did you encrypt your password in the .htpasswd file...should look like:
username1:fk6590skl2

Did you change the first line of .htaccess to reflect your server path:

And .htpasswd should be on the same level as htdocs and cgi-bin (your root directory).