AlexWyrm/AIS/master/Server/htdocs/secure/.htaccess - Htaccess File

AlexWyrm/AIS/master/Server/htdocs/secure/.htaccess

AuthType Basic
AuthName "CAMP: authorization"
AuthBasicProvider file
AuthUserFile /opt/lampp/passwords/passwd.dat
AuthGroupFile /opt/lampp/passwords/groups.dat 

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/secure/$1 [R,L]

Require valid-user

On Github License

Files

Download PDF of Htaccess file
HTTPS, SERVER_NAME

Comments

Apache