webnull/RaspAP/master/raspap/.htaccess - Htaccess File

webnull/RaspAP/master/raspap/.htaccess

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*)$ /index.php?rewriteString=$1 [NC,L,QSA]

<Files ~ "^.*.([json|yml])">
    deny from all
</Files>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache