IIS Mod-Rewrite documentation
Overview Documentation    Quick overview    Rewrite directives    Support directives       AllowOverride       AccessFilename       ErrorLog       DocumentRoot       ProxyPassReverse       ServerAdmin    Extended directives    Control center    Apache compatibility Download Purchase FAQ  
IIS Mod-Rewrite - URL rewrite tool for IIS

AllowOverride Directive

AllowOverride directive can be used to specify whether it is allowed to use override configurations for the specific directory and its subdirectories. Although AllowOverride is meaningful only in per-directory configurations, it can be used also in per-server or per-virtual-host configurations to override the default setting "AllowOverride default" in Engine Settings page.

This directive is supported only by IIS Mod-Rewrite Pro.

Configuration context
  • per-server configurations
  • per-virtual-host configurations
  • per-directory configurations

AllowOverride None|All|Fileinfo

It requires only one argument. Specify None to deny overrides for the container per-directory configuration. Specify All, or FileInfo to allow overrides.

AllowOverride can be used only once within a configuration.

For more information about the default value of AllowOverride, see AllowOverride default value in IIS Mod-Rewrite Control Center.

Download and try
IIS Mod-Rewrite

IIS rewrite

Download IIS Mod-Rewrite

Purchase IIS Mod-Rewrite