Fixes to htaccess for EC2 compat