RewriteEngine directive

Description: Enables or disables runtime rewriting engine
Syntax: RewriteEngine on|off
Default: RewriteEngine off
Context: server config, virtual host, directory, .htaccess

 

Enables or disables rewriting runtime. Use RewriteEngine off instead of commenting out rewrite rules if you need to disable ISAPI_Rewrite module or specific .htaccess file.

WARNING! Due to the number of support queries we had to enable rewriting engine by default whilst in Apache rewriting engine by default is off. Please keep in mind this small incompatibility and always specify explicit status of rewriting engine in each configuration file, whether you need it on or off.