IIS Mod-Rewrite documentation
Overview Documentation    Quick overview    Rewrite directives    Support directives    Extended directives       X-PrgRestart       X-PrgEngine       X-TxtWatchChanges       X-AddOriginalURL       X-OriginalURLHeader       X-ProxyConnTimeout       X-ProxyRespTimeout       X-ProxyKeepHost       X-VirtualDirWalk       X-UseUTF8Encoding    Control center    Apache compatibility Download Purchase FAQ  
IIS Mod-Rewrite - URL rewrite tool for IIS

X-PrgRestart Directive

X-PrgRestart is an extended engine setting directive that controls whether an external program should be forced to restart when it exits or is unexpectedly terminated.

This directive overrides the default engine setting "Restart external program if exited" 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-PrgRestart (on|enable|yes|true) | (off|disable|no|false)

It requires only one argument. Specify either of on|enable|yes|true to enable automatic restart of external programs, or specify either of off|disable|no|false to prevent automatic restart.

X-PrgRestart can be used only once within the same configuration scope.

 
 
Download and try
IIS Mod-Rewrite
NOW!


IIS rewrite

Download IIS Mod-Rewrite

Purchase IIS Mod-Rewrite