server/src/public/.htaccess
author ymh <ymh.work@gmail.com>
Mon, 14 Nov 2016 15:34:33 +0100
changeset 416 6e6b7363f45f
parent 1 01a844d292ac
permissions -rw-r--r--
Simplify notice component and add permalink

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

    RewriteEngine On

    # Redirect Trailing Slashes...
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>