Use apache2_module to enable mod_rewrite.