Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

unable to setup login for admin using .htaccess


aquanev

Recommended Posts

Hi,

 

I just installed oscommerce and was unable to get .htacces and .htpasswd working for the admin section. The login screen wont show.

 

Here is what I did :

0. Downloading and installed the oscommerce package with the username:aquanev

 

1. Then Logged in as root.

 

2.created /home/sites/www.theclothesstore.com/web/oscommerce-2.2ms2/catalog/admin/.htaccess

 

Here are the contents of .htaccess

 

AuthUserFile /home/sites/www.theclothesstore.com/web/.htpasswd

AuthName "Admin"

AuthType Basic

 

<Limit GET PUT POST>

require valid-user

satisfy all

</Limit>

 

3.Then did a > htpasswd -c /home/sites/www.theclothesstore.com/web/.htpasswd cartadmin

4.Then assigned password as prompted.

 

I would appreciate it if someone could advise me on this.

 

Thank you,

Nev.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...