I applied Forms authentication to my monorail project.
In login page, all static files can not be loaded. It seems that the static file can be loaded only after user logged in. In login page, the request to script.js is redirected to
http://localhost:49529/MySite/Login/Index.rails?ReturnUrl=%2fMySite2fContent%2fjs%2fscripts.js
Thanks for any help.
If you go extension less path and register “*” request to go through MonoRail this might be the case.
Try to add StaticFileHandler before MonorailHttpHandlerFactory setting like this: