There was an error while performing this operation.
Filename:
\\?\C:\Windows\system32\inetsrv\config\applicationHost.config
Error: The configuration section ‘system.webServer/rewrite/globalRules’ cannot be read because it is missing a section declaration
applicationHost.config
file first.%SystemRoot%\system32\inetsrv\rewrite.dll
. If the file exists, continue the steps below. If it doesn’t, search for the file in server. If it doesn’t exist, it means URL Rewrite is not installed. It should be installed firstapplicationHost.config
file<globalModules>
section
<add name="RewriteModule" image="%SystemRoot%\system32\inetsrv\rewrite.dll" />
<configSections>
section:
<sectionGroup name="rewrite">
<section name="globalRules" overrideModeDefault="Deny" allowDefinition="AppHostOnly" />
<section name="rules" overrideModeDefault="Allow" />
<section name="outboundRules" overrideModeDefault="Allow" />
<section name="providers" overrideModeDefault="Allow" />
<section name="rewriteMaps" overrideModeDefault="Allow" />
<section name="allowedServerVariables" overrideModeDefault="Deny" />
</sectionGroup>
<system.webServer>
section. Example:
<rewrite>
<globalRules>
<rule name="Remove authToken parameter from Query String" enabled="true" stopProcessing="true">
…
</rule>
</globalRules>
</rewrite>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.