robrohan/MvCphp/master/.htaccess - Htaccess File

robrohan/MvCphp/master/.htaccess

<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /
RewriteRule ^View/(.*)$ View/$1 [PT]
RewriteRule ^(AppCore/Debug.css)$ $1 [PT]
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^([a-zA-Z0-9/]+)/([a-zA-Z0-9]+)(.*)$ index.php?c=$1:$2&%1
</IfModule>

################################################################################
# Standard HTTP errors. Add to or customize these 
# to your hearts content
#400  Bad Syntax
ErrorDocument 400 /View/Errors/Error.html
#401  Unauthorized
ErrorDocument 401 /View/Errors/Error.html
#402  Not Used (Payment Granted)
ErrorDocument 402 /View/Errors/Error.html
#403  Forbidden
ErrorDocument 403 /View/Errors/Error.html
#404  Not Found
ErrorDocument 404 /View/Errors/Error.html
#500  Internal Error
ErrorDocument 500 /View/Errors/Error.html
#501  Not Implemented
ErrorDocument 501 /View/Errors/Error.html
#502  Overloaded
ErrorDocument 502 /View/Errors/Error.html
#503  Gateway Timeout
ErrorDocument 503 /View/Errors/Error.html
################################################################################

On Github License

Files

Download PDF of Htaccess file
QUERY_STRING

Comments

Apache