server/src/public/.htaccess
author Chloe Laisne <chloe.laisne@gmail.com>
Tue, 07 Jun 2016 19:49:43 +0200
changeset 179 9b703ece424f
parent 1 01a844d292ac
permissions -rw-r--r--
Discourse and theme linting

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