DirectoryIndex index.php
Options -Indexes -MultiViews

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /fixtrack/

    # Protect application internals from direct web access.
    RewriteRule ^(?:app|config|database|storage)(?:/|$) - [F,L,NC]

    # Serve real files and folders (for example assets) normally.
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]

    # Send all application URLs through FixTrack's front controller.
    RewriteRule ^ index.php [QSA,L]
</IfModule>

<FilesMatch "^\.">
    Require all denied
</FilesMatch>
