Mod_rewrite: Attempting to bend RewriteMap, RewriteCond, and RewriteRule to my will...
RewriteEngine On
RewriteMap redirects txt:/home/.../.../rewriterules.map
RewriteRule ^(.*)$ ${redirects:$1|$1} [R,L,NC]
How does it work? (See here for details.)
The first line turns on mod_rewrite. The next line sets the location of the map file (the two column list of source/destina...