tdubuffet/Minex/master/web/.htaccess - Htaccess File

tdubuffet/Minex/master/web/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteCond %{ENV:REDIRECT_STATUS} ^$
    RewriteRule ^index.php(/(.*)|$) %{CONTEXT_PREFIX}/$2 [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule .? - [L]

    RewriteCond %{REQUEST_URI} .(css|gif|ico|jpg|js|png|swf|txt|pdf|doc|docx|mp3|svg)$
    RewriteRule ^(.*)$ $1 [QSA,L]

    RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::2$
    RewriteRule ^(.*) - [E=BASE:%1]
    RewriteRule .? %{ENV:BASE}index.php [L]

</IfModule>

On Github License

Files

Download PDF of Htaccess file
CONTEXT_PREFIX, ENV, REDIRECT_STATUS, REQUEST_FILENAME, REQUEST_URI

Comments

Apache