mathcoll/simple-dashboard/master/.htaccess
RewriteEngine on
DirectoryIndex index.html index.php
#enables you to access PHP files with HTML extension
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^$ php-version/index.php [L]
RewriteRule ^(.*).html$ php-version/$1.php [NC]
AuthUserFile /home/htpasswd/.htpasswd
AuthGroupFile /dev/null
AuthName "Acces Restreint"
AuthType Basic
Require valid-user
Files
