server/src/public/.htaccess
author ymh <ymh.work@gmail.com>
Sun, 04 Dec 2016 13:49:44 +0100
changeset 466 a8effb60ccb6
parent 1 01a844d292ac
permissions -rw-r--r--
correct discourse display and update

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