Princelo/symfony/master/web/.htaccess
AddType audio/mpeg mp3
AddType audio/ogg oga ogg
AddType audio/mp4 m4a
AddType application/x-shockwave-flash swf
AddType audio/x-wav .wav
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
# Explicitly disable rewriting for front controllers
#RewriteRule ^/app_dev.php - [L]
#RewriteRule ^/app.php - [L]
# Fix the bundles folder
#RewriteRule ^bundles/(.*)$ /bundles/$1 [QSA,L]
#RewriteRule ^uploads/(.*)$ /uploads/$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !^.*.(gif|jpg|jpeg|png|swf|js|html|htm)$
# Change below before deploying to production
RewriteRule ^(.*)$ /app.php [QSA,L]
#RewriteRule ^(.*)$ /app_dev.php [QSA,L]
</IfModule>
<IfModule mod_xsendfile.c>
XSendFile On
SetEnv MOD_mod_xsendfile 1
</IfModule>
On Github License
Files