brcontainer/inphinit/master/.htaccess - Htaccess File

brcontainer/inphinit/master/.htaccess

<IfModule mod_negotiation.c>
    Options -MultiViews
</IfModule>

IndexIgnore *

# Redirect page errors to route system
ErrorDocument 401 /index.php/RESERVED.INPHINIT-401.html
ErrorDocument 403 /index.php/RESERVED.INPHINIT-403.html
ErrorDocument 501 /index.php/RESERVED.INPHINIT-501.html

RewriteEngine On

# Disable access to folder and redirect ./system/* path to "routes"
RewriteRule "^system/" "index.php" [L]

# Check file or foldes exists
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f

# Redirect all urls to index.php if no exits files/folder
RewriteRule ^ index.php [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache