juliarLang/juliarICE/master/.htaccess - Htaccess File

juliarLang/juliarICE/master/.htaccess

ErrorDocument 403 /index.php?url=main/error
ErrorDocument 404 /index.php?url=main/error
RewriteEngine on
RewriteRule ^403.php$ /index.php?url=main/error [R=301]
RewriteRule ^404.php$ /index.php?url=main/error [R=301]
IndexIgnore *
Options All -Indexes

RewriteCond "%{REQUEST_URI}" "!=/index.php"
RewriteCond $1 !^(robots.txt|index.php|assets)
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule "^(.*)$" "./index.php?url=$1" [L,QSA,DPI,PT]

RewriteCond "%{REQUEST_URI}" "!=/index.php"
RewriteCond $1 !^(robots.txt|index.php|assets)
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule "^(.*)$" "./index.php?url=$1" [L,QSA,DPI,PT]

RewriteCond "%{REQUEST_URI}" "!=/index.php"
RewriteCond $1 !^(robots.txt|index.php|assets)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond $1 !^(robots.txt|index.php|assets)
RewriteRule ^(.*[^/])$ $1 [L]

RewriteCond "%{REQUEST_URI}" "!=/index.php"
RewriteCond $1 !^(robots.txt|index.php|assets)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule "^(.*)$" "./index.php?url=$1" [L,QSA,DPI,PT]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache