added rewrite rules for apache2 hosts

added rewrite rules for apache2 hosts