added rewrite to htaccess for apache