Helicon Ape status checking fixed
This commit is contained in:
parent
6b7916bed6
commit
16d3701137
1 changed files with 20 additions and 15 deletions
|
@ -1914,6 +1914,10 @@ namespace WebsitePanel.Providers.Web
|
||||||
|
|
||||||
private bool IsHeliconApeEnabled(ServerManager srvman, string siteId)
|
private bool IsHeliconApeEnabled(ServerManager srvman, string siteId)
|
||||||
{
|
{
|
||||||
|
if (!string.IsNullOrEmpty(siteId))
|
||||||
|
{
|
||||||
|
// Check the web site app pool in integrated pipeline mode
|
||||||
|
|
||||||
WebSite webSite = null;
|
WebSite webSite = null;
|
||||||
webSite = webObjectsSvc.GetWebSiteFromIIS(srvman, siteId);
|
webSite = webObjectsSvc.GetWebSiteFromIIS(srvman, siteId);
|
||||||
if (webSite == null)
|
if (webSite == null)
|
||||||
|
@ -1931,6 +1935,7 @@ namespace WebsitePanel.Providers.Web
|
||||||
// Ape is not working in not Integrated pipeline mode
|
// Ape is not working in not Integrated pipeline mode
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
var appConfig = srvman.GetApplicationHostConfiguration();
|
var appConfig = srvman.GetApplicationHostConfiguration();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue