How to access aspx file?

Topics: Troubleshooting
Jul 23, 2014 at 2:50 PM
It worked a few version ago, but not anymore with

The home of an Orchard instance is:
File foo.aspx resides in the root directory. http://localhost:8081/Orchard/foo.aspx give HTTP404 error.

I have added the following to Global.asax:
I have also tried:
routes.Ignore("{*allaspx}", new { allaspx = @".*\.aspx(/.*)?" });
I added the following to web.config:
<add name="aspx" path="*.aspx" verb="*" type="System.Web.UI.PageHandlerFactory"/>
Any tip will be greatly appreciated.