[Deprecated] Application Gateway Host Rewrite Module NuGet Package

The package is deprecated.

Please use Progress.Sitefinity.Cloud.AppGatewayHostRewriteModule package that is a replacement of AppGatewayHostRewriteModule package. AppGatewayHostRewriteModule replaces the Host header with the X-Original-Host on IIS of App Service via a native C++ module. NOTE: There is a popular approach to replace the HOST header with the value of X-Original-Host header by unlocking the Host and X-Original-Host headers, so they can be rewritten using rewrite rules. Once the request reaches the App Service, the value of the HOST header is set to the value of the X-Original-Host header.

However, this approach has a pitfall. If there are other rewrite rules executed after the rule for rewriting the HOST header, they do not respect the new value of the HOST header. Using the native IIS module ensures that the HOST header has taken the value of the X-Original-Host header before the rewrite module steps in.

Got any [Deprecated] Application Gateway Host Rewrite Module Question?


Version: 1.0.3
Author(s): Progress Software Corporation
Last Update: Tuesday, March 29, 2022
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/Sitefinity/AppGatewayHostRewriteModule
NuGet Url: https://www.nuget.org/packages/AppGatewayHostRewriteModule

Install-Package AppGatewayHostRewriteModule
dotnet add package AppGatewayHostRewriteModule
paket add AppGatewayHostRewriteModule
AppGatewayHostRewriteModule Download (Unzip the "nupkg" after downloading)