Posted By

ropehead on 05/26/11


Tagged

htaccess security staging


Versions (?)

.htaccess protect directory


 / Published in: Apache
 

also requires an .htpasswd file to be created in a secure directory

  1. AuthUserFile /home/user/domain/secretfolder/.htpasswd
  2. AuthType Basic
  3. AuthName "Login Details"
  4. Require valid-user

Report this snippet  

You need to login to post a comment.