mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
This commit implements the base template code along with the default Mono theme for exception/error reporting in ASP.NET applications. Means for user to implement their own templates will be provided at a later date.
18 lines
824 B
HTML
18 lines
824 B
HTML
<table class="sampleCode"><tr><td><pre>
|
|
<!-- Web.Config Configuration File -->
|
|
|
|
<configuration>
|
|
<system.web>
|
|
<customErrors mode="Off"/>
|
|
</system.web>
|
|
</configuration></pre> </td></tr></table><br/>
|
|
<p><strong>Notes:</strong> The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.</p>
|
|
<table class="sampleCode"><tr><td><pre>
|
|
<!-- Web.Config Configuration File -->
|
|
|
|
<configuration>
|
|
<system.web>
|
|
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
|
|
</system.web>
|
|
</configuration></pre></td></tr></table>
|