Posted By

assbach on 01/19/07


Tagged

password htaccess apache files


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

basicmagic
seloh77
vkolev
Priestd09


password protect a file not directory


 / Published in: Other
 

URL: http://de.selfhtml.org/servercgi/server/htaccess.htm

  1. <FilesMatch mitglieder.php>
  2. AuthType Basic
  3. AuthName "Mitglieder Bereich"
  4. AuthUserFile /path/.htpasswd
  5. require valid-user
  6. </FilesMatch>

Report this snippet  

You need to login to post a comment.