Update web.config to follow IIS 7.x restrictions

Fix #1536
See http://support.microsoft.com/kb/942076
Merge pull request #1542 from LeoColomb/iis-fix

Update web.config to follow IIS 7.x restrictions