web.config for Symfony 2 on WebMatrix 2 (IISExpress)
For those trying to persuade WebMatrix' IISExpress to serve files from web/
and rewrite all requests (non-static) to app_dev.php
Save the content of this gist https://gist.github.com/3787187 into your WebMatrix project root as web.config
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.
Written by Lennart Melzer
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Php
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#