m0k1/alva2/master/.htaccess - Htaccess File

m0k1/alva2/master/.htaccess

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/.]+)?$ index.php?page=$1 [L]
RewriteRule ^([^/.]+)/([^/]+)?$ index.php?page=$1&get=$2 [L]
RewriteRule ^([^/.]+)/([^/]+)/([^/]+)?$ index.php?page=$1&get=$2&get2=$3 [L]
RewriteRule ^([^/.]+)/([^/]+)/([^/]+)/([^/]+)?$ index.php?page=$1&get=$2&get2=$3&get3=$4 [L]
<FilesMatch ".(htaccess|passwd|c9save|ini|phps|fla|psd|log|sh)$">
 Order Allow,Deny
 Deny from all
</FilesMatch>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache