added rewrites to apache config