Rabies virus glycoprotein can fold in two alternative, antigenically distinct conformations depending on membrane-anchor type.