revjim.net

mod_rewrite tutorial

Webmasterbase.com has an excellent article on Apache’s mod_rewrite. If you are developing any kind of web application (blog tools, photo gallery, forum software, a guestbook script, ANYTHING), and either don’t know how to use the “PATH_INFO” environment variable or just don’t like messing with it, then mod_rewrite is for you. If you’ve ever migrated a portion of your website from one tool to another, and wished there was a way you could do so without generating 404s for anyone who has linked to you, or bookmarked you prior to your migration, then you too can get a lot of use out of mod_rewrite. [via Keith Devens]