itpao25

Htaccess apache2 block file index.php

Jun 21st, 2014
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <Files index.php>
  2. Satisfy any
  3. Order deny,allow
  4. Deny from all
  5. Allow from 127.0.0.1 Mio ip
  6.  
  7. AuthType Basic
  8. AuthName "private"
  9. AuthUserFile /var/www/.htpasswd
  10. Require valid-user
  11. </Files>
Advertisement
Add Comment
Please, Sign In to add comment