server/src/public/.htaccess
author nowmad@nowmads-macbook-pro.local
Wed, 20 Jan 2016 13:04:27 +0100
changeset 89 89be68e13215
parent 1 01a844d292ac
permissions -rw-r--r--
fix a problem after reloading the page the date tags couldn't be deleted

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