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
Files
![HTTP_HOST, HTTPS, REQUEST_URI](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/Dantali0n/cronchan-htaccess-364x250.png)