you are in: codestackercodes [RSS]Password protecting your pages with htaccess

Password protecting your pages with htaccess Delicious Email

create a .htaccess file with this content.

the .htpasswd contains a user and encrypted password (e.g.: leo:4tHAiRmQ4OpjM). create a encrypted password in: http://www.kxs.net/support/htaccess_pw.html

show/hide lines
   1  AuthUserFile /home/leonardo/public_html/project/.htpasswd
   2  AuthGroupFile /dev/null
   3  AuthName "Restricted Access"
   4  AuthType Basic
   5  <limit GET>
   6  require valid-user
   7  </limit>
created by leozera — 16 July 2008 — get a short url — tags: apache htaccess embed

Comments



We dont send spam :)

If checked, it's highlights your comment
simple_captcha.jpg
Are you a human? Type the code from the image