Htaccess File

breenie/shorty/master/app/.htaccess

REQUEST_FILENAME
<IfModule mod_rewrite.c>
    Options -MultiViews

#    RewriteEngine On
#    RewriteCond %{REQUEST_FILENAME} !-f
#    RewriteRule ^ index.php [QSA,L]

    RewriteEngine on
    RewriteBase /
    RewriteRule ^$ index.html [NE,L]
    RewriteRule ^api index.php [NE,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*) /index.php [NE,L]
</IfModule>
Exit mobile version