make htaccess robust