Results 1 to 2 of 2

failed Login

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 ...

      
  1. #1
    Lurker
    Join Date
    Jun 2004
    Posts
    3
    Rep Power
    0


    Default failed Login

    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?

  2. #2
    Lurker
    Join Date
    Jun 2004
    Posts
    3
    Rep Power
    0


    Default

    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?

Similar Threads

  1. Precondition failed when using easypopulate?
    By countingsheep in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 06-21-2006, 07:09 AM
  2. Error: Login into admin failed
    By augengott in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 05-27-2005, 03:01 AM
  3. Install Problem - Failed application.php....
    By groggory in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 10-06-2004, 03:19 PM
  4. Failed opening required...
    By webmissie in forum osCommerce 2.2 Installation Help
    Replies: 6
    Last Post: 12-24-2003, 07:11 AM
  5. failed to open stream
    By Anonymous in forum osCMax v1.7 Installation
    Replies: 4
    Last Post: 12-03-2003, 08:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •