make sure webdir is available