RewriteEngine on

<IfModule mod_php5.c>
php_value max_execution_time 259200
</IfModule>

RewriteCond ${REQUEST_URI} ^.+$
RewriteCond %{REQUEST_FILENAME} \.(gif|jpg|jpeg|png|js|css|swf|php|ico|txt|pdf|xml)$ [OR]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -l
RewriteRule ^ - [L]



RewriteCond %{HTTP_HOST} ^d4d.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^d4d.com$
RewriteCond %{REQUEST_URI} !web/app_dev.php

#RewriteRule media/cache/(.*) /web/media/cache/$1 [L]
#RewriteRule (.*) /web/app_dev.php/$1 [L]
#RedirectMatch permanent ^/app_dev\.php/(.*) /$1


