area17/subfolio/master/.htaccess - Htaccess File

area17/subfolio/master/.htaccess

# 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 ^-cms$ index.php/cms/home/index [QSA,PT,L]
RewriteRule ^-cms/(.*)$ index.php/cms/$1/index [QSA,PT,L]
RewriteRule ^-cms/(.*)/(.*)$ index.php/cms/$1/$2 [QSA,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]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache