add mod_rewrite rules for better htaccess support