Skip to content

Commit

Permalink
Fixed URLs.
Browse files Browse the repository at this point in the history
  • Loading branch information
lextm committed Aug 14, 2024
1 parent ecc56b5 commit 7e03128
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion JexusManager.Features.HttpApi/IpMappingFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ protected void OnHttpApiSettingsSaved()

public override bool ShowHelp()
{
DialogHelper.ProcessStart("https://msdn.microsoft.com/en-us/library/windows/desktop/cc307243(v=vs.85).aspx");
DialogHelper.ProcessStart("https://msdn.microsoft.com/library/windows/desktop/cc307243(v=vs.85).aspx");
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion JexusManager.Features.HttpApi/ReservedUrlsFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ protected void OnHttpApiSettingsSaved()

public override bool ShowHelp()
{
DialogHelper.ProcessStart("https://msdn.microsoft.com/en-us/library/windows/desktop/cc307243(v=vs.85).aspx");
DialogHelper.ProcessStart("https://msdn.microsoft.com/library/windows/desktop/cc307243(v=vs.85).aspx");
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion JexusManager.Features.HttpApi/SniMappingFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ protected void OnHttpApiSettingsSaved()

public override bool ShowHelp()
{
DialogHelper.ProcessStart("https://msdn.microsoft.com/en-us/library/windows/desktop/cc307243(v=vs.85).aspx");
DialogHelper.ProcessStart("https://msdn.microsoft.com/library/windows/desktop/cc307243(v=vs.85).aspx");
return false;
}

Expand Down
4 changes: 2 additions & 2 deletions JexusManager/Features/Main/BindingDiagDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ private int GetEventLogging()
return -1;
}

// https://support.microsoft.com/en-us/kb/260729
// https://support.microsoft.com/kb/260729
var key = Registry.LocalMachine.OpenSubKey(@"System\CurrentControlSet\Control\SecurityProviders\SCHANNEL");
if (key == null)
{
Expand All @@ -305,7 +305,7 @@ private static bool GetProtocol(string protocol)
return false;
}

// https://support.microsoft.com/en-us/kb/187498
// https://support.microsoft.com/kb/187498
var key =
Registry.LocalMachine.OpenSubKey(
$@"SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\{protocol}\Server");
Expand Down
14 changes: 7 additions & 7 deletions JexusManager/Features/Main/KestrelDiagDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public KestrelDiagDialog(IServiceProvider provider, Application application)
appHost.RootSectionGroup.GetAllDefinitions(definitions);
if (!definitions.Any(item => item.Path == "system.webServer/aspNetCore"))
{
Error($"ASP.NET Core module is not installed as part of IIS. Please refer to https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/index#install-the-net-core-hosting-bundle for more details.");
Error($"ASP.NET Core module is not installed as part of IIS. Please refer to https://docs.microsoft.com/aspnet/core/host-and-deploy/iis/index#install-the-net-core-hosting-bundle for more details.");
return;
}

Expand All @@ -220,7 +220,7 @@ public KestrelDiagDialog(IServiceProvider provider, Application application)

if (hasV1 == null && hasV2 == null)
{
Error($"ASP.NET Core module is not installed as part of IIS. Please refer to https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/index#install-the-net-core-hosting-bundle for more details.");
Error($"ASP.NET Core module is not installed as part of IIS. Please refer to https://docs.microsoft.com/aspnet/core/host-and-deploy/iis/index#install-the-net-core-hosting-bundle for more details.");
return;
}

Expand Down Expand Up @@ -291,7 +291,7 @@ public KestrelDiagDialog(IServiceProvider provider, Application application)
if (foundHandlers.Count == 0)
{
Error($"No valid ASP.NET Core handler is registered for this web site.");
Error($"To run ASP.NET Core on IIS, please refer to https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/index for more details.");
Error($"To run ASP.NET Core on IIS, please refer to https://docs.microsoft.com/aspnet/core/host-and-deploy/iis/index for more details.");
return;
}

Expand All @@ -317,12 +317,12 @@ public KestrelDiagDialog(IServiceProvider provider, Application application)
}
else
{
Error($" Visual C++ runtime 14.0 is not detected. Please install it following the tips on https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/index#install-the-net-core-hosting-bundle.");
Error($" Visual C++ runtime 14.0 is not detected. Please install it following the tips on https://docs.microsoft.com/aspnet/core/host-and-deploy/iis/index#install-the-net-core-hosting-bundle.");
}
}
else
{
Error($" Visual C++ 14.0 runtime is not detected. Please install it following the tips on https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/index#install-the-net-core-hosting-bundle.");
Error($" Visual C++ 14.0 runtime is not detected. Please install it following the tips on https://docs.microsoft.com/aspnet/core/host-and-deploy/iis/index#install-the-net-core-hosting-bundle.");
}

Info($"The application pool '{pool.Name}' is used.");
Expand Down Expand Up @@ -495,7 +495,7 @@ public KestrelDiagDialog(IServiceProvider provider, Application application)
catch (COMException ex)
{
Error("A generic exception occurred.");
Error($"To run ASP.NET Core on IIS, please refer to https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/index for more details.");
Error($"To run ASP.NET Core on IIS, please refer to https://docs.microsoft.com/aspnet/core/host-and-deploy/iis/index for more details.");
Debug(ex.ToString());
Rollbar.RollbarLocator.RollbarInstance.Error(ex);
}
Expand Down Expand Up @@ -564,7 +564,7 @@ private void Info(string text)

private void BtnHelpClick(object sender, EventArgs e)
{
DialogHelper.ProcessStart("http://www.jexusmanager.com/en/latest/tutorials/vs-diagnostics.html");
DialogHelper.ProcessStart("https://docs.lextudio.com/jexusmanager/tutorials/ancm-diagnostics.html");
}

private void SslDiagDialogHelpButtonClicked(object sender, System.ComponentModel.CancelEventArgs e)
Expand Down
8 changes: 4 additions & 4 deletions JexusManager/Features/Main/PhpDiagDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public PhpDiagDialog(IServiceProvider provider, ServerManager server)
Debug($"Scan {modules.Items.Count} installed module(s).");
if (modules.Items.All(item => item.Name != "FastCgiModule"))
{
Error($"FastCGI module is not installed as part of IIS. Please refer to https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-a-php-website-on-iis/configuring-step-1-install-iis-and-php#13-download-and-install-php-manually for more details.");
Error($"FastCGI module is not installed as part of IIS. Please refer to https://learn.microsoft.com/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/hh994590(v=ws.11) for more details.");
return;
}
else
Expand Down Expand Up @@ -112,7 +112,7 @@ public PhpDiagDialog(IServiceProvider provider, ServerManager server)
if (foundPhpHandler.Count == 0)
{
Error($"No valid FastCGI handler is registered for this web site.");
Error($"To run PHP on IIS, please refer to https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-a-php-website-on-iis/configuring-step-1-install-iis-and-php#13-download-and-install-php-manually for more details.");
Error($"To run PHP on IIS, please refer to https://learn.microsoft.com/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/hh994590(v=ws.11) for more details.");
return;
}

Expand All @@ -138,7 +138,7 @@ public PhpDiagDialog(IServiceProvider provider, ServerManager server)
if (foundPhp.Count == 0)
{
Error($"No suitable FastCGI appilcation is registered on this server.");
Error($"To run PHP on IIS, please refer to https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-a-php-website-on-iis/configuring-step-1-install-iis-and-php#13-download-and-install-php-manually for more details.");
Error($"To run PHP on IIS, please refer to https://learn.microsoft.com/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/hh994590(v=ws.11) for more details.");
return;
}

Expand Down Expand Up @@ -278,7 +278,7 @@ public PhpDiagDialog(IServiceProvider provider, ServerManager server)
}
else
{
Error($"PHP installation is not yet added to Windows Path environment variable. Please refer to https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-a-php-website-on-iis/configuring-step-1-install-iis-and-php#13-download-and-install-php-manually for more details.");
Error($"PHP installation is not yet added to Windows Path environment variable. Please refer to https://learn.microsoft.com/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/hh994590(v=ws.11) for more details.");
Warn($"Restart Jexus Manager and rerun PHP Diagnostics after changing Windows Path environment variable.");
}

Expand Down
12 changes: 6 additions & 6 deletions JexusManager/Features/Main/SslDiagDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ public SslDiagDialog(IServiceProvider provider, ServerManager server)
Debug($"TLS 1.2: {tls12Enabled}");

Debug($"SChannel EventLogging: {GetEventLogging()} (hex)");
Warn($"To tune TLS related settings, please follow https://support.microsoft.com/en-us/kb/187498 or try out IIS Crypto from https://www.nartac.com/Products/IISCrypto/.");
Warn("Microsoft documentation on cipher suites can be found at https://docs.microsoft.com/en-us/windows/desktop/secauthn/cipher-suites-in-schannel.");
Warn($"To tune TLS related settings, please follow https://support.microsoft.com/kb/187498 or try out IIS Crypto from https://www.nartac.com/Products/IISCrypto/.");
Warn("Microsoft documentation on cipher suites can be found at https://docs.microsoft.com/windows/desktop/secauthn/cipher-suites-in-schannel.");
Debug("-----");

foreach (Site site in server.Sites)
Expand Down Expand Up @@ -438,7 +438,7 @@ private int GetEventLogging()
return -1;
}

// https://support.microsoft.com/en-us/kb/260729
// https://support.microsoft.com/kb/260729
var key = Registry.LocalMachine.OpenSubKey(@"System\CurrentControlSet\Control\SecurityProviders\SCHANNEL");
if (key == null)
{
Expand All @@ -456,7 +456,7 @@ private int GetEventLogging()
return null;
}

// https://support.microsoft.com/en-us/kb/187498
// https://support.microsoft.com/kb/187498
var key =
Registry.LocalMachine.OpenSubKey(
$@"SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\{protocol}\Server");
Expand All @@ -472,13 +472,13 @@ private int GetEventLogging()
return enabled;
}

Error($"Invalid registry key value is detected for {protocol}. Please read https://support.microsoft.com/en-us/kb/187498 to resolve the issue.");
Error($"Invalid registry key value is detected for {protocol}. Please read https://support.microsoft.com/kb/187498 to resolve the issue.");
return null;
}

private void BtnHelpClick(object sender, EventArgs e)
{
DialogHelper.ProcessStart("http://www.jexusmanager.com/en/latest/tutorials/ssl-diagnostics.html");
DialogHelper.ProcessStart("https://docs.lextudio.com/jexusmanager/tutorials/ssl-diagnostics.html");
}

private void SslDiagDialogHelpButtonClicked(object sender, System.ComponentModel.CancelEventArgs e)
Expand Down
2 changes: 1 addition & 1 deletion JexusManager/Features/Main/VsDiagDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ private void Info(string text)

private void BtnHelpClick(object sender, EventArgs e)
{
DialogHelper.ProcessStart("http://www.jexusmanager.com/en/latest/tutorials/vs-diagnostics.html");
DialogHelper.ProcessStart("https://docs.lextudio.com/jexusmanager/tutorials/vs-diagnostics.html");
}

private void SslDiagDialogHelpButtonClicked(object sender, System.ComponentModel.CancelEventArgs e)
Expand Down
2 changes: 1 addition & 1 deletion JexusManager/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private static string GetWindowsVersion()
return ndpKey != null ? $"{ndpKey.GetValue("ProductName")} ({ndpKey.GetValue("ReleaseId", "unknown")})" : "Unknown Windows release";
}

// https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed#net_d
// https://docs.microsoft.com/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed#net_d
private static string Get45PlusFromRegistry()
{
const string subkey = @"SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\";
Expand Down
8 changes: 4 additions & 4 deletions Microsoft.Web.Administration/FileContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -466,22 +466,22 @@ private bool ParseSections(XElement element, ConfigurationElement parent, Locati
if (path.StartsWith("system.webServer/aspNetCore/"))
{
oob = "ASP.NET Core Module (system.webServer/aspNetCore/)";
link = "https://docs.microsoft.com/en-us/aspnet/core/publishing/iis?tabs=aspnetcore2x#install-the-net-core-windows-server-hosting-bundle";
link = "https://docs.microsoft.com/aspnet/core/publishing/iis?tabs=aspnetcore2x#install-the-net-core-windows-server-hosting-bundle";
}
else if (path.StartsWith("system.webServer/rewrite/"))
{
oob = "URL Rewrite Module (system.webServer/rewrite/)";
link = "https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/using-the-url-rewrite-module#where-to-get-the-url-rewrite-module";
link = "https://docs.microsoft.com/iis/extensions/url-rewrite-module/using-the-url-rewrite-module#where-to-get-the-url-rewrite-module";
}
else if (path.StartsWith("system.webServer/webFarms/"))
{
oob = "Application Request Routing Module (system.webServer/webFarms/)";
link = "https://docs.microsoft.com/en-us/iis/extensions/configuring-application-request-routing-arr/define-and-configure-an-application-request-routing-server-farm#prerequisites";
link = "https://docs.microsoft.com/iis/extensions/configuring-application-request-routing-arr/define-and-configure-an-application-request-routing-server-farm#prerequisites";
}
else if (path.StartsWith("system.webServer/httpPlatform/"))
{
oob = "HttpPlatformHandler Module (system.webServer/httpPlatform/)";
link = "https://docs.microsoft.com/en-us/iis/extensions/httpplatformhandler/httpplatformhandler-configuration-reference";
link = "https://docs.microsoft.com/iis/extensions/httpplatformhandler/httpplatformhandler-configuration-reference";
}

var exception = new COMException(
Expand Down
4 changes: 2 additions & 2 deletions Setup/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<Component Id="ProgramMenuItems" Guid="BBB6934E-57F3-4E39-A2C8-C6C26A9FE0C6">
<!--
Fix ICE 38 by adding a dummy registry key that is the key for this shortcut.
http://msdn.microsoft.com/library/en-us/msi/setup/ice38.asp
http://msdn.microsoft.com/library/msi/setup/ice38.asp
-->
<RegistryValue Id="JexusManagerExeStartMenuShortcutRegistryKey" Root="HKCU" Type="string" KeyPath="yes" Key="Software\$(var.ManufacturerShort)\$(var.ProductNameShort)" Name="ProgramFilesShortcut" Value="1" />
<Shortcut Name="$(var.ProductName)" Target="[!$(var.MainExecutable)]" Id="MainExeStartMenuShortcut" WorkingDirectory="INSTALLDIR" Directory="ProgramMenuFolder" />
Expand Down Expand Up @@ -116,7 +116,7 @@
we make sure SharpDevelop is completely removed before installing
the newer version. This also covers us if we accidentally
modify a component but do not change its Guid.
http://msdn.microsoft.com/library/en-us/msi/setup/removeexistingproducts_action.asp
http://msdn.microsoft.com/library/msi/setup/removeexistingproducts_action.asp
-->
<RemoveExistingProducts Before="InstallInitialize"/>
<Custom Action="WixCloseApplications" After="InstallInitialize" />
Expand Down
2 changes: 1 addition & 1 deletion Setup/Variables.wxi
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<?define ProductNameShort="JexusManager" ?>

<?define MainExecutable="JexusManager.exe"?>
<!-- MSI engine only uses first three fields https://docs.microsoft.com/en-us/windows/win32/msi/upgrade-table?redirectedfrom=MSDN#columns -->
<!-- MSI engine only uses first three fields https://docs.microsoft.com/windows/win32/msi/upgrade-table?redirectedfrom=MSDN#columns -->
<?define ProductVersion="!(bind.FileVersion.$(var.MainExecutable))"?>

</Include>
2 changes: 1 addition & 1 deletion Tests/Exceptions/SiteTestCases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ public void ArrSection()
Assert.Equal(string.Format("Filename: \\\\?\\{0}\r\nError: \r\n", siteConfig), exception.Message);
#else
Assert.Equal("Application Request Routing Module (system.webServer/webFarms/)", exception.Data["oob"]);
Assert.Equal("https://docs.microsoft.com/en-us/iis/extensions/configuring-application-request-routing-arr/define-and-configure-an-application-request-routing-server-farm#prerequisites", exception.Data["link"]);
Assert.Equal("https://docs.microsoft.com/iis/extensions/configuring-application-request-routing-arr/define-and-configure-an-application-request-routing-server-farm#prerequisites", exception.Data["link"]);
Assert.Equal(
$"Filename: \\\\?\\{siteConfig}\r\nLine number: 10\r\nError: Unrecognized element 'test'\r\n\r\n", exception.Message);
#endif
Expand Down

0 comments on commit 7e03128

Please sign in to comment.