Change htaccess https enforcing and bug