Dantali0n/cronchan/master/.htaccess - Htaccess File

Dantali0n/cronchan/master/.htaccess

# Block access to all . files & directories
<LocationMatch "/..*">
    Order allow,deny
    Deny from all
</LocationMatch>

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

AuthName "Restricted Area" 
AuthType Basic
AuthUserFile fullsystempathtofile.htpasswd 
require valid-user

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, HTTPS, REQUEST_URI

Comments

Apache