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
![REQUEST_FILENAME](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/mathcoll/simple-dashboard-htaccess-328x250.png)