muirgen/encyclopedia-cthulhiana.dev/master/.htaccess
# Pattern .htaccess to install symfony 2 on a ovh server (for exemple) #
#SetEnv SHORT_OPEN_TAGS 0
#SetEnv REGISTER_GLOBALS 0
#SetEnv MAGIC_QUOTES 0
#SetEnv SESSION_AUTOSTART 0
#SetEnv ZEND_OPTIMIZER 1
#SetEnv PHP_VER 5_3
#AddType x-mapp-php5 .php
#RewriteEngine on
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^(.*)$ web/app.php [QSA,L]
# End of pattern #
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /web/
RewriteCond %{REQUEST_URI} .(css|gif|ico|jpg|js|png|swf|txt|pdf|doc|docx|mp3|svg|otf|eot|ttf|woff)$
RewriteRule ^(.*)$ $1 [QSA,L]
RewriteCond %{REQUEST_URI} dev.php
RewriteRule ^(.*)$ app_dev.php/$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app_dev.php/$1 [QSA,L]
</IfModule>
On Github License
Files