set basedir for tomcat http server