Setup:
I have ELMAH installed through NuGet on an ASP.NET MVC 4 site.
On the dev machine, the application is installed in the root. All this works and is presented as usual in ELMAH pages. This is always the case, work on the dev machine, I mean, right?
But on the server, the application is installed in a subfolder (~ / tracker). Although ELMAH works fine, the pages are not too long, which makes them difficult to read.
Question:
What do I need to make the pages become styles?
Presumably, the styling comes from a resource that can be configured in the web.config file. But how?
Edit:
I found that I have a very important error:
System.Web.HttpException: A public action method 'stylesheet' was not found on controller 'Elmah.Mvc.ElmahController'.
The path is given as:
/tracker/elmah/stylesheet
This is obviously due to the Link tag in the ELMAH page source:
<link rel="stylesheet" type="text/css" href="/tracker/elmah/stylesheet" />
But how do I configure this URL?
awrigley
source share