URL rewriting does not work (adding endpoints)

I try to set up Tyk on a local linux VM. I finally managed to get it up and running, but I seem to have missed something in setup.

As a test I create a API for httpbin, which works just fine, the trouble comes after that: when I click on one of the links on the result page, it does not append my API path and so ends up with an 404 error.

what does not work:
image

appending one of the endpoints to my api URL works as expected. Why is this not happening automatically?

Hi

You can make this work in our On Premises Gateway by setting the listen path to /

Another option would be to edit the HTML on the httpbin page to have your api name in the URL in the links, but that would be outside the scope of Tyk.

The problem is with httpbin in this instance as they dont handle relative paths well.

Thanks
Josh