Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

help with .htaccess and .htpasswds


totoro1

Recommended Posts

Posted

hi all

 

after spending endless days and nights i'm now at the last few steps of installing osc

 

i am meant to:

 

Password protect your /catalog/admin dir using .htaccess

 

I am told to add this code to my .htaccess file

AuthType Basic

AuthName "Locked Area"

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

require valid-user

 

the thing is, there is a .htacess file in

www/catalog

www/catalog/admin

www/catalog/includes

www/catalog/pub

 

which of the .htaccess files should I add the code to? or am i meant to write a new .htaccess file?

 

also, i am meant to creat a .htpasswd file. after i create this file, which folder do I put the .htpasswd file in??

 

thanks!!

Archived

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

×
×
  • Create New...