loosening url rewriting for app.php and app_dev.php