Rewrite Cookbook
The goal here is to develop a cookbook of useful mod_rewrite recipes, starting with the frequently asked questions, and progressing to more esoteric recipes. This is only a staging area - eventually this stuff will become part of the official documentation.
-
Basics - mod_rewrite and regular expression basics
-
Arguments - Moving one part of the URL to another part
-
ConditionalRewrites - Changing a path only under certain conditions with RewriteConditions
-
VirtualHost - Various virtual host recipes
-
RewriteMap - Rule-based or program-based rewrite maps
-
AccessControl - Access control, browser-based rewrites, etc
-
Flags - The flags which modify the behavior of RewriteRules
-
Handlers - Mapping URLs to handlers, like php, mod_perl, etc
-
UserDir - Rules for user directories ('public_html')
-
Misc - Please create a new major category if appropriate
If you want to find out how wikis work, go look somewhere else. I won't be doing the annoying, but seemingly standard thing where you devote half of the wiki to explaining the wiki. Get over it.