Support changing base path to /.