This is a discussion on failed Login within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; After successful configuration, my login always fails when I pressed either "catalog" or "Admininistrative Tools". I added the following lines ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| After successful configuration, my login always fails when I pressed either "catalog" or "Admininistrative Tools". I added the following lines to .htaccess: AuthType Basic AuthName "Locked Area" AuthUserFile /home/wangw/.htpasswds/admin/passwd require valid-user No login window pops up in response to the depression of "catalog" button if I removed these lines. The login in window is still there if the "administrative button" is pressed. I'm really not sure these added lines are correct. Any suggestions? |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| After a little digging, I'm convinced my problem has to do with .htaccess and .htpasswd. The login in window responding to the "Administration Tool button" doesn't pop up when I removed the following added lines: AuthType Basic AuthName "Locked Area" AuthUserFile /home/youraccount/.htpasswds/admin/passwd require valid-user It seems to me the AuthUserFile statement specifies wich directory to protect and which file find the permissible username/password. I added the .htpasswd file this time. The encrypted password generated by Kelvs .htaccess/.htpasswd Generator doen't agree with the ones generated by other tools. I do have 2 questions on the AuthUserFile statement: 1. Should I specify the full path of the admin directory in this statement? This is the directory to protect. 2. Is the 's' at the end of .htpasswds a typo? Lastly, can I find help in Linux main page on .htaccess? |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Precondition failed when using easypopulate? | countingsheep | osCMax v2 Features Discussion | 0 | 06-21-2006 07:09 AM |
| Error: Login into admin failed | augengott | osCMax v1.7 Installation | 1 | 05-27-2005 03:01 AM |
| Install Problem - Failed application.php.... | groggory | osCommerce 2.2 Installation Help | 0 | 10-06-2004 03:19 PM |
| Failed opening required... | webmissie | osCommerce 2.2 Installation Help | 6 | 12-24-2003 07:11 AM |
| failed to open stream | Anonymous | osCMax v1.7 Installation | 4 | 12-03-2003 08:06 AM |