%SCRIPTURL{"script"}%
https://reisen.cothmann.de/do/script
%SCRIPTURL{"viewauth"}%/%WEB%/%TOPIC% which expands to https://reisen.cothmann.de/do/viewauth/TWiki/VarSCRIPTURL2
%SCRIPTURLPATH{"script"}% instead, as it works with URL rewriting much better