ivanstojic/Halcyon/master/.htaccess - Htaccess File

ivanstojic/Halcyon/master/.htaccess

RewriteEngine On

# Redirect anything that isn't a local file to index.php - the wrapper for
# Halcyon framework
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]

# If we pass over the previous statement, we're targetting a local file, make
# sure that we're not serving anything directly from the important
# directories...
RewriteCond %{REQUEST_URI} ^/(app|views|lib)
RewriteRule .* / [R]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache