DarrenCook/ssebook/master/listings/.htaccess - Htaccess File

DarrenCook/ssebook/master/listings/.htaccess

<Files "show_phpinfo.php">
  deny from all
</Files>

<Files "log_headers_ip_restrict.php">
  order deny,allow
  deny from all
  allow from 127.0.0.1
  allow from 172.16.0.0/12
  allow from 10.0.0.0/8
  allow from 192.168.0.0/24
  allow from fc00::/7
</Files>

AuthUserFile /etc/apache2/sse_book_htpasswd
AuthType Basic
AuthName SSEBook
<Files ~ "^(log_headers_basic_auth|auth[.]basic_by_apache|fx_server[.]auth[.]apache)[.]php$">
  require valid-user
</Files>

<Files ~ "^fx_server[.]auth[.]inc[12][.]php$">
  deny from all
</Files>

On Github License

Files

Download PDF of Htaccess file

Comments

Apache