Stats: 3,190,909 members, 7,942,275 topics. Date: Saturday, 07 September 2024 at 05:52 AM |
Nairaland Forum / Science/Technology / Webmasters / How To Password Web Root Or Folder (812 Views)
MYSQL Said:#1045 - Acess Denied For User 'root'@'localhost' (using Password: No) / Password Hack! 272 Million Stolen Login Of Microsoft, Google, Yahoo Found Online / How To Rename The Admin Folder In Opencart (2) (3) (4)
How To Password Web Root Or Folder by Joel3(m): 6:09am On Jul 18, 2015 |
I have been trying it on wampserver.
but not working. if you have passworded your web root or folder give me the files. thanks |
Re: How To Password Web Root Or Folder by ps3o(m): 9:00am On Jul 18, 2015 |
Joel3:then u need to use htpassword to do that. The Professional Developer, 07031175291 |
Re: How To Password Web Root Or Folder by Joel3(m): 7:43am On Jul 19, 2015 |
ps3o:.htaccess AuthType Basic AuthName "My Protected Area" AuthUserFile /path/to/.htpasswd Require valid-user.htpasswd access:$apr1$6qJxtXv3$C9t2R6mmG7OPCgL5zxtIh/how to apply this on wanp server |
Re: How To Password Web Root Or Folder by Joel3(m): 7:50am On Jul 19, 2015 |
does path means the www.site.com or home/to/www.site.com/
confused |
Re: How To Password Web Root Or Folder by ps3o(m): 4:30pm On Jul 19, 2015 |
homedirpath/to/www |
Re: How To Password Web Root Or Folder by Joel3(m): 7:38pm On Jul 19, 2015 |
ps3o:OK. the htacces should be in /www and the htpasswd should be in the folder to password? e.g /www/subdir/.htpassword while the htaccess /www/.htaccess? is that correct or both should be in same folder? |
Re: How To Password Web Root Or Folder by ps3o(m): 10:46am On Jul 20, 2015 |
Joel3:.htaccess must be in the root folder, while .htpasswd can be anywhere for security reasons |
(1) (Reply)
Google Adsense Latest Update- Avoid Been Banned / Does Wapka.mobi Support .ng Domains? / BEST DEAL EVER!!! Professional Website/blog Design
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 10 |