To go in the /rewrite section of the docs, as rewritemap.html, this will be referenced from the documentation for RewriteMap, and provide examples of the various ways to use it, replacing the somewhat confusing stuff that's there now with actual functional examples.
Sections will include:
- General description and reference to main documentation
- RewriteMap txt: (example txt file, RewriteMap directive, and RewriteRule directive)
- RewriteMap rnd:
- RewriteMap dbm:
- RewriteMap int:
- RewriteMap prg:
- RewriteMap dbd: or fastdbd:
For a description of the syntax, see Apache manual
We want to map
Note: The trouble with this recipe is that it could be better done with mod_vhost_alias. It would be great if we could get a stock of RewriteMap examples that are actually the right way to do the thing being discussed.