For those trying to persuade WebMatrix' IISExpress to serve files from
web/ and rewrite all requests (non-static) to
Save the content of this gist https://gist.github.com/3787187 into your WebMatrix project root as
Alter the last rewrite rule to
app.php instead of
app_dev.php to serve a production server. This config is not bullet proof, but serves the purpose of having a local Symfony 2 development server integrated with WebMatrix 2.