
X-TxtWatchChanges Directive
X-TxtWatchChanges is an extended engine setting directive that controls whether a textfile based map (RewriteMap txt: or rnd:) should be updated whenever a change in the textfile occurs.
This directive overrides the default engine setting "Watch textfile changes (txt: and rnd:)" in Engine Settings page.
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-TxtWatchChanges (on|enable|yes|true) | (off|disable|no|false)
It requires only one argument. Specify either of on|enable|yes|true to enable automatic reloading of the textfile map when a change occurs, or specify either of off|disable|no|false to prevent the textfile map from being reloaded.
X-TxtWatchChanges can be used only once within the same configuration scope.
|