.htaccess password help

Soldato
Joined
6 Jan 2006
Posts
3,437
Location
Newcastle upon Tyne
Ok Ive searched the forums and its either not what I want or double dutch to me!!

I want to protect a certain folder on my website /admin, and I know I can do this with .htaccess so I uploaded the one that came with oscommerce and it worked fine. Searched the net to find the code to go in the .htaccess file and when I overwrite the original I get a 500 error on the site. Put the old /htaccess file back and it works again.

Could someone please tell me the code that I need to put in the .htaccess so that I can protect the admin section.

Thanks, Mark
 
How do I upload it there? Im using cute FTP and it only shows up folders that are accessible I think?

Thanks again, Mark
 
Dinesh: We do not allow access to that area
Dinesh: You can only save your htaccess or htpasswd to your root directory#

Any further ideas?
 
Back
Top Bottom