Apache mod_rewrite and formatting clean-up.