%SCRIPTURL{"script"}%
http://rnd2.knu.ac.kr:8080/twiki/bin/script
%SCRIPTURL{"viewauth"}%/%WEB%/%TOPIC%
which expands to http://rnd2.knu.ac.kr:8080/twiki/bin/viewauth/TWiki/VarSCRIPTURL2
%SCRIPTURLPATH{"script"}%
instead, as it works with URL rewriting much better