“A Users Guide to URL Rewriting with the Apache Webserver” is a very comprehensive and easy written document that describes how to implement URL rewriting with Apache web server. It covers theory in general as well as few practical situations. Plenty of examples are there too.