Checks if webroot or warfile is specified