Automatically append a base path for Host handler