On 21.12.20 10:58, David Osborne wrote:
As far as I can remember, the multiple servers are to make routing more convenient.

well, it is not the main purpose of multiple servers :)
However, with the changes of yesterday, your use case should work just fine.

I'm guessing I could be using url_rewrite_callback to achieve this...? I've not explored that yet but will do now..

yes, the url_rewrite_callback can be used to compute a fully qualified URL based on

    nsf::proc rewrite_url { -target -url {-query ""}} {....}

In this callback, one can e.g. query the incoming port and redirect e.g.  the request to a different machine with a different path, etc.

-g



_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to