Update virtualhost.sh

Update to enable rewrite on the virtualhosts