I have the following .htaccess file in my web directory for my Symfony2 installation:
RewriteEngine On
RewriteCond %{R
I had this problem today and the fix was to append a /$1 at the end of the url rewrite rule.
My .htaccess looks like this:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php/$1 [QSA,L]
And the virtual host is defines as this:
DocumentRoot /var/www/html/symfony_site/web
DirectoryIndex app.php
AllowOverride All
Allow from All