r1 - 27 Mar 2005 - 13:14:15 GMT - TWikiContributorYou are here: Bernstein > TWiki Web >  TWikiVariables > VarSCRIPTURL2

SCRIPTURL{"script"} -- URL of TWiki script

  • Syntax: %SCRIPTURL{"script"}%
  • Expands to: http://www.bernstein.oeaw.ac.at/twiki/bin/script
  • Example: To get the authenticated version of the current topic you can write %SCRIPTURL{"viewauth"}%/%WEB%/%TOPIC% which expands to http://www.bernstein.oeaw.ac.at/twiki/bin/viewauth/TWiki/VarSCRIPTURL2
  • ALERT! 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"}
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
The Bernstein Website
Copyright © by the contributing authors.
Bernstein - The Memory of Paper http://www.bernstein.oeaw.ac.at
Ideas, requests, problems regarding Bernstein? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarSCRIPTURL2
This site is powered by the TWiki collaboration platform