Recently I migrated my server to Ubuntu 14.04 with PHP 5.5.9 and Apache / 2.4.7, but rewrite that has string with filename simply does not work.
Error 500
RewriteRule ^tag/?(.*)/?$ /tags.php?tag=$1 [L]
It works
RewriteRule ^tag/?(.*)/?$ /atags.php?tag=$1 [L]
My apache.conf
<Directory />
Options FollowSymLinks
AllowOverride All
Require all denied
</Directory>
<Directory /var/www/>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>