A simple script for converting a CSV of URLs into Apache rewrite rules.
Usage: php csv2rw.php path_to_csv_file
The csv file is expected to be in the following format:
Old URLs with query string parameters will be turned into conditional rewrites using the RewriteCond directive.
Use at your own risk! This tool may potentially create invalid rewrite rules.