Use the front controller as index file. It serves as a fallback solution when
every other rewrite/redirect fails (e.g. in an aliased environment without
mod_rewrite). Additionally, this reduces the matching process for the
start page (path "/") because otherwise Apache will apply the rewriting rules
to each configured DirectoryIndex file (e.g. index.php, index.html, index.pl).
DirectoryIndex app.php
By default, Apache does not evaluate symbolic links if you did not enable this
feature in your server configuration. Uncomment the following line if you
install assets as symlinks or if you experience problems related to symlinks
when compiling LESS/Sass/CoffeScript assets.
Options FollowSymlinks
Disabling MultiViews prevents unwanted negotiation, e.g. "/app" should not resolve
to the front controller "/app.php" but be rewritten to "/app.php/app".
<IfModule !mod_rewrite.c>
Последни пейстове