robcalcroft/YRM2015/master/src/.htaccess - Htaccess File

robcalcroft/YRM2015/master/src/.htaccess

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]+)$ $1.html [NC,L]

#AuthType Basic
#AuthName "Password Protected Area"
#AuthUserFile /var/www/vhosts/yrm2015.co.uk/.htpasswd
#Require valid-user

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache