Adding small check to vhost to prevent Apache warnings