IIS Mod-Rewrite documentation
Overview Documentation    Quick overview    Rewrite directives       RewriteEngine       RewriteRule       RewriteCond       RewriteMap       RewriteOptions       RewriteLog       RewriteLogLevel       RewriteBase       RewriteLock    Support directives    Extended directives    Control center    Apache compatibility Download Purchase FAQ  
IIS Mod-Rewrite - URL rewrite tool for IIS

RewriteEngine Directive

RewriteEngine directive turns on or off the rewriting engine for a specific rewrite configuration.

This directive must be used only once in a rewrite configuration.

Configuration context
  • per-server configurations
  • per-virtual-host configurations
  • per-directory configurations
  • override (htaccess) configurations
Syntax

RewriteEngine on|off


It requires only one argument. Specify on if you want the rewrite engine to enable this rewrite configuration. Specify off if you want to disable this rewrite configuration. It is preferable to specify off instead of commenting out all the directives in the configuration, because this way you reduce CPU consumption.

 
 
Download and try
IIS Mod-Rewrite
NOW!


IIS rewrite

Download IIS Mod-Rewrite

Purchase IIS Mod-Rewrite