Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (18 sloc) 770 Bytes
# Turn on URL rewriting
RewriteEngine On
# Installation directory
RewriteBase /engine/
# Protect application and system files from being viewed
RewriteRule ^(config/settings|config/users|engine/application|engine/modules|engine/system) - [F,L]
RewriteRule ^(.*).yml$ - [F,L]
# Rewrite all other URLs to index.php/URL
RewriteRule ^notfound$ index.php/$0 [PT,L]
RewriteRule ^denied$ index.php/$0 [PT,L]
RewriteRule ^hash/?(.*)$ index.php/$0 [PT,L]
RewriteRule ^login$ index.php/$0 [PT,L]
RewriteRule ^logout$ index.php/$0 [PT,L]
RewriteRule ^directory/(.*)$ index.php/filebrowser/access?path=$1 [QSA,PT,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php?path=$0 [QSA,PT,L]
RewriteRule ^$ index.php?path= [QSA,PT,L]