Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,208,088 members, 8,001,470 topics. Date: Wednesday, 13 November 2024 at 11:01 AM

How To Password Web Root Or Folder - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / How To Password Web Root Or Folder (819 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)

(1) (Reply) (Go Down)

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:
I have been trying it on wampserver.
but not working.

if you have passworded your web root or folder give me the files.

thanks
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:
then u need to use htpassword to do that. The Professional Developer, 07031175291
.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:
homedirpath/to/www
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:
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?
.htaccess must be in the root folder, while
.htpasswd can be anywhere for security reasons

(1) (Reply)

I Need This ASAP / Discover The Step-by-step System To Unlimited Blogging Profits. / What Type Of Domain Extensions Fits My Blog? - Slashnec's Blog

(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. 8
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.