Micronovae
Home Products Downloads Purchase Support Company
Overview Documentation    Quick overview    Rewrite directives       RewriteEngine       RewriteRule       RewriteCond       RewriteMap       RewriteOptions       RewriteLog       RewriteLogLevel       RewriteBase       RewriteLock    Support directives    Control center    Apache compatibility Download Purchase FAQ
 
IIS Mod-Rewrite
RewriteBase Directive

RewriteBase directive is meaningful only in per-directory and override (htaccess) configurations, and is supported only by IIS Mod-Rewrite Pro. It lets IIS Mod-Rewrite know what the base url path is for the applied rewrites. After the last rewrite rule is applied, the base url is prefixed.

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

RewriteBase base-url

It requires only one argument. base-url is the prefix to the result of the applied rules.


RewriteBase can be used only once within a configuration.