You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Bryan Bende <bb...@gmail.com> on 2019/01/15 16:52:17 UTC

Re: ListenHttp and basepath

Hello,

In ListenHttp the base path is essentially the servlet mapping, so I
think it is either mapped to "/" which is everything, or it is mapped
to "/{basePath}".

You might be able to get more flexible path matching using
HandleHttpRequest with the path regex property.

-Bryan

On Mon, Jan 14, 2019 at 6:33 PM Andreas Sachs <an...@gmx.de> wrote:
>
> Hello,
> can anybody please explain the property "base path"?
>
> If it's empty, every path is accepted. E.g. http://example.de/test or http://example.de/sample.
>
> If it is set (e.g. "path"), only that path is expected.
>
> http://example.de/path ->Ok
> http://example.de/path/test -> 404
> http://example.de/path/sample -> 404
>
> Because of the name "base path" i expected that every path, starting with the base path, should be accepted.
>
> Thanks
> Andi
>