yochiro/simple-mvc/master/docroot/.htaccess - Htaccess File

yochiro/simple-mvc/master/docroot/.htaccess

# Sample .htaccess : replace :BOOTSTRAP_FILE: with the bootstrap filename
# Several sites can be initialized in this file; each should have their own bootstrap file.

RewriteEngine On

RewriteCond %{SERVER_NAME} ^:HOSTNAME:$
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^(.*/)?favicon.ico$ skin/icons/favicon.ico

RewriteCond %{SERVER_NAME} ^:HOSTNAME:$
RewriteCond %{REQUEST_URI} !:BOOSTRAP_FILE:.php
RewriteRule ^(.*)$ :BOOTSTRAP_FILE:.php/$1 [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_URI, SCRIPT_FILENAME, SERVER_NAME

Comments

Apache