Merge
This commit is contained in:
commit
5179ec23c9
1 changed files with 4 additions and 0 deletions
|
@ -97,6 +97,10 @@ namespace WebsitePanel.Providers.Web.Iis.WebObjects
|
||||||
var config = srvman.GetWebConfiguration(virtualDir.FullQualifiedPath);
|
var config = srvman.GetWebConfiguration(virtualDir.FullQualifiedPath);
|
||||||
//
|
//
|
||||||
var section = config.GetSection(Constants.HttpErrorsSection);
|
var section = config.GetSection(Constants.HttpErrorsSection);
|
||||||
|
|
||||||
|
// enable custom errors
|
||||||
|
section.SetAttributeValue("errorMode", "Custom");
|
||||||
|
|
||||||
//
|
//
|
||||||
var errorsCollection = section.GetCollection();
|
var errorsCollection = section.GetCollection();
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue