scabros/scabrosfw/master/.htaccess - Htaccess File

scabros/scabrosfw/master/.htaccess

# If requested resource exists as a file or directory, skip next two rules
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}/xampp/scabrosfw/$1 -f [OR]
RewriteCond %{DOCUMENT_ROOT}/xampp/scabrosfw/$1 -d
RewriteRule (.*) - [S=2]
#
# Else rewrite requests for non-existent resources to /index.php
RewriteRule (.*) /xampp/scabrosfw/route.php?%{QUERY_STRING}&q=$1 [L]

On Github License

Files

Download PDF of Htaccess file
DOCUMENT_ROOT, QUERY_STRING

Comments

Apache