With orchard 1.6 I was able to enclose system.web with
<location path="." inheritInChildApplications="false">
tag and I could run virtual directories under orchard.
With Orchard 1.7 this it's no longer working because of the <system.webServer> section settings. Basically I am getting the 500 error, or at best an empty page.
When I include <system.webServer> in the location, it will then give errors in Orchard.
Here is my virtual directory's web.config:
<remove name="WarmupHttpModule" />
<directoryBrowse enabled="false" />
<!-- clear all handlers, prevents executing code file extensions, prevents returning any file contents -->
<customErrors mode="Off" />
Basically, I have 2 virtual dirs:
2) a Static site.
Is there a way to make them both work, or the only solution is to put all these in parallel sites?