k-atomic Posted December 6, 2005 Posted December 6, 2005 HI all i can't see a way to password the .htaccess file on my c-panel only whole directorys, can i pasword it another way? if so can you be real deatled if you tell me as im a real dummy :blink: any help would be sooooo great as my sites wide open Thank you k-atomic
k-atomic Posted December 6, 2005 Author Posted December 6, 2005 not shure i was clear enough basecley how do i do this bit if i cant do it in cpanel You need to .htaccess your /catalog/admin directory so that it is password protected. You can use the password manager in your server admin area like cpanel. Thanks agen
♥Vger Posted December 6, 2005 Posted December 6, 2005 If your web hosting company does not provide this facility in their web hosting control panel then you'll have to do it manually. There is a contribution for this (search in the contributions section), but you could also just use Google to find out how to password protect using .htaccess. Vger
k-atomic Posted December 6, 2005 Author Posted December 6, 2005 Thanks for you post iv been trying all day i used a genarator and loaded the the .htacsess and .htpassword into the admin file but it still dont work i think im getting the path wrong can someone explain the path real simple for me please?
Guest Posted December 6, 2005 Posted December 6, 2005 HI all i can't see a way to password the .htaccess file on my c-panel only whole directorys, can i pasword it another way? if so can you be real deatled if you tell me as im a real dummy :blink: any help would be sooooo great as my sites wide open Thank you k-atomic Head to your server company c-panel where you have the option to pass protect a whole directory. When asked to create the passworded directory, you should be able to just enter "catalog/admin/" in there. Then you get redirected to a Create User and Password page. Set that up. Open another browser window, surf over to your site and try to get the admin section to open up. Should get the handy dandy "Hark, Who Goes There?" box.
♥Vger Posted December 6, 2005 Posted December 6, 2005 i can't see a way to password the .htaccess file on my c-panel only whole directorys Yes, I think there's been some confusion here. You don't password protect the .htaccess file. The .htaccess, .htpasswd and .htgroup are the files that are created by your web hosting control panel when you want to protect a folder (directory) - in this case you want to protect your 'admin' folder. Follwo the advice in the post above to Password Protect your 'admin' folder. Vger
Wanwan Posted December 7, 2005 Posted December 7, 2005 Well, I had the same problem, finally I got the admin folder password protected. Actually I don't understand by reading the knowledge base documentation. But I kind of got it from this website: http://www.javascriptkit.com/howto/htaccess.shtml Well Thanks for you post iv been trying all day i used a genarator and loaded the the .htacsess and .htpassword into the admin file but it still dont work i think im getting the path wrong can someone explain the path real simple for me please? You can goto your includes/configure.php look at line 35 you should see the path you have. define('DIR_FS_CATALOG', '/home/yourwebserver/catalog/'); Copy the /home/yourwebserver/catalog/ to your .htaccess than in .htaccess should look like this AuthUserFile /home/yourwebserver/catalog/admin .htpasswd Note: I assume your admin folder is in catalog. Hope this help!! I just fixed this problem in 5 minutes ago!! Wanwan -- %_%_
k-atomic Posted December 7, 2005 Author Posted December 7, 2005 Thanks guys and girlz :) :) :thumbsup: :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.