%SCRIPTURL{"script"}%
http://linux.hd-wireless.se/bin/script
%SCRIPTURL{"viewauth"}%/%WEB%/%TOPIC%
which expands to http://linux.hd-wireless.se/bin/viewauth/TWiki/VarSCRIPTURL2
[[%SCRIPTURL{view}%/%WEB%/MyQuery?food=sushi][Sushi]]
%SCRIPTURLPATH{"script"}%
instead, as it works with URL rewriting much better