
X-VirtualDirWalk Directive
X-VirtualDirWalk is an extended engine setting directive that controls whether IIS Mod-Rewrite engine should use the directory walking method for resolving override configuration files that is consistent with IIS Virtual Directory structure, or a method that is compatible with Apache mod_rewrite.
This directive overrides the default engine setting "Enable virtual directory walk" in Engine Settings page.
This directive is supported only by IIS Mod-Rewrite Pro.
IMPORANT: This directive is IIS Mod-Rewrite specific. It is not compatible with Apache mod_rewrite and it should be removed from the rewrite configuration when migrating from IIS to Apache.
Configuration context
- per-server configurations
- per-virtual-host configurations
Syntax
X-VirtualDirWalk (on|enable|yes|true) | (off|disable|no|false)
It requires only one argument. Specify either of on|enable|yes|true to enable IIS Virtual Directory structure consistent directory walking, or specify either of off|disable|no|false to enable Apache mod_rewrite compatible directory walking.
X-VirtualDirWalk can be used only once within the same configuration scope.
|