Skip to content

Change default IIS setting for overrideModeDefault in applicationHost.config #787

@brianclark

Description

@brianclark

Hello,

In the 2.8.0 version of the ModSecurity for IIS installer, it adds a line like the one below to the applicationHost.config file (which governs the global IIS configuration for that host--all websites on the host):

<section name="ModSecurity" overrideModeDefault="Deny" allowDefinition="Everywhere" /></sectionGroup>

The effect of this configuration is preventing individual websites running on the host from being able to disable ModSecurity (at the site level). I propose changing the IIS Installer's default overrideModeDefault to "Allow" which would allow individual websites the ability to include a ModSecurity enabled="FALSE", thereby disabling ModSecurity for that site.

Thank you,
Brian Clark

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions