server/src/public/.htaccess
author ymh <ymh.work@gmail.com>
Wed, 15 Feb 2017 22:53:52 +0100
changeset 512 cf4653cf88f2
parent 1 01a844d292ac
permissions -rw-r--r--
Added tag 0.0.16 for changeset fbf4e1afab01

<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>