Litle fix to support env configurated on a virtualhost