Tutorial by Examples

Apache 2.4 provides the following 6 directives via the mod_rewrite module: RewriteBase RewriteCond RewriteEngine RewriteMap RewriteOptions RewriteRule The following directives, available previously in Apache 2.2 have been removed: RewriteLock RewriteLog RewriteLogLevel All the dir...
DirectiveDefaultContextDescriptionRewriteBaseNoneDirectory, .htaccessSets base URL for per directory rewriteRewriteEngineoffeverywhereEnable or disable runtime rewrite engine RewriteBase The directive specifies URL prefix to be used for substituting relative paths. RewriteEngine The directive, i...
The directive defines a function which'll lookup a key in the defined map and substitutes the lookup with its replacement from the map. The mapping function is defined with the RewriteMap directive itself as follows: RewriteMap MAPNAME Type:Source and can be referenced in any of the RewriteCond...

Page 1 of 1