osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 06-28-2004, 04:26 PM
Lurker
 
Join Date: Jun 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jaguartx
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 06-28-2004, 11:06 PM
Lurker
 
Join Date: Jun 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jaguartx
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 05:35 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax