routing - ASP.NET MVC3 ignore route in Orchard CMS -
i'm new orchard cms , playing it, trying build new site. besides have several test sites (on php , static html) reside on same hosting server in sub-directories, e.g "mysite.com/test_site". orchard resides in root directory , intercepts requests dies unhandled exception when accessing php site:
could not load file or assembly 'orchard.warmupstarter, version=1.0.20, culture=neutral' or 1 of dependencies. system cannot find file specified. when trying access static html site asp.net returns 404:
the resource cannot found. i tried suggested solution here. adding location tag blocks css/images/scripts on main site, looks plain text on white background. thought idea add ignore routes in global.asax.cs, this:
public static void registerroutes(routecollection routes) { routes.ignoreroute("{resource}.axd/{*pathinfo}"); routes.ignoreroute("test_site/{*pathinfo}"); } however, there no global.asax.cs in orchard site. ideas find routes in orchard try this? or other solution make sub-directories ignored , path through request handled iis.
if modifying config removed access styles, means did not apply change locally enough. please read thread more info on making work: http://orchard.codeplex.com/discussions/264057
Comments
Post a Comment