%SCRIPTURL{"script"}%
https://iccl.unist.ac.kr/foswiki/bin/script
%SCRIPTURL{"viewauth"}%/%WEB%/%TOPIC%
which expands to https://iccl.unist.ac.kr/foswiki/bin/viewauth/System/VarSCRIPTURL2
[[%SCRIPTURL{view}%/%WEB%/MyQuery?food=sushi][Sushi]]
%SCRIPTURLPATH{"script"}%
instead, as it works with URL rewriting much better