mod-rewrite Directives provided by mod-rewrite in Apache 2.4 RewriteBase and RewriteEngine


Example

DirectiveDefaultContextDescription
RewriteBaseNoneDirectory, .htaccessSets base URL for per directory rewrite
RewriteEngineoffeverywhereEnable or disable runtime rewrite engine

RewriteBase

The directive specifies URL prefix to be used for substituting relative paths.

RewriteEngine

The directive, if set to off, will perform no runtime rewrite processing. These rules are not inherited by the virtual hosts (from server config), and will have to be defined individually.