SCRIPTURL{"script"} -- URL of TWiki script
- Syntax:
%SCRIPTURL{"script"}%
- Expands to:
https://twiki.ace.fordham.edu/bin/script
- Example: To get the authenticated version of the current topic you can write
%SCRIPTURL{"viewauth"}%/%WEB%/%TOPIC%
which expands to https://twiki.ace.fordham.edu/bin/viewauth/TWiki/VarSCRIPTURL2
-
Note: In most cases you should use %SCRIPTURLPATH{"script"}%
instead, as it works with URL rewriting much better
- Related: PUBURL, SCRIPTNAME, SCRIPTSUFFIX, SCRIPTURL, SCRIPTURLPATH, SCRIPTURLPATH{"script"}
This topic: TWiki
> WebHome >
TWikiVariables > VarSCRIPTURL2
Topic revision: r1 - 2005-03-27 - TWikiContributor