I'm new to Orchard CMS and currently playing with it, trying to build new site. Besides that I have several test sites (on PHP and static html) that reside on the same hosting server in sub-directories, e.g "mysite.com/test_site". The Orchard resides in the root directory and intercepts all requests It just dies with unhandled exception when accessing PHP site:
Could not load file or assembly 'Orchard.WarmupStarter, Version=1.0.20, Culture=neutral' or one of its dependencies. The system cannot find the file specified.
When trying to access static html site ASP.NET returns 404:
The resource cannot be found.
I tried suggested solution from here. But adding location tag blocks all the CSS/images/scripts on main site, so it looks like plain text on white background. I thought it will be good idea just to add ignore routes in Global.asax.cs, like this:
public static void RegisterRoutes(RouteCollection routes) {
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.IgnoreRoute("test_site/{*pathInfo}");
}
However, there is no Global.asax.cs in Orchard site. Any ideas where to find routes in Orchard to try this? Or any other solution to make sub-directories to be ignored and path through the request to be handled by IIS.