Directive | Default | Context | Description |
---|---|---|---|
RewriteBase | None | Directory, .htaccess | Sets base URL for per directory rewrite |
RewriteEngine | off | everywhere | Enable 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.