Posted By

minipark on 10/19/10


password linux htaccess authentication

Versions (?)

Who likes this?

2 people have marked this snippet as a favorite


.htaccess directory authentication

 / Published in: Apache

  1. # Directory Authentication
  2. AuthType Basic
  3. AuthName "Directory Authentication"
  4. AuthUserFile /path/to/.htpasswd # find path with <?php echo dirname(__FILE__); ?>
  5. Require valid-user

Report this snippet  

You need to login to post a comment.