Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

.htaccess problems when passwording admin area


Guest

Recommended Posts

Hi there, I've just installed osCommerce for my new website project - an online UK guitar sotre and community :D

 

Anyway I am having some issues with .htaccess, I was wondering if someone could shed some light on them for me.

 

In the installation guide it says:

Add this code to your .htaccess file

          AuthType Basic

          AuthName "Locked Area"

          AuthUserFile /home/youraccount/.htpasswds/admin/passwd

          require valid-user

 

Next, create your .htpasswd file.

 

I added 'that' to my .htaccess in the /admin folder. However what should I change

AuthUserFile /home/youraccount/.htpasswds/admin/passwd

to? my server's address? In which case what should 'admin' and 'passwd' be? folders? :blink:

 

Also with the .htpasswrd file, what should be in this? In mine I have the following:

user:$$$$ some random letters and stuff here $$$$.

 

Is that correct?

 

Any info would be great! Thanks!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...