Tags:
create new tag
, view all tags
How about parameterizing the name of the cgi script 'view'. The reason is that I can't add ScriptAlias entries to my web server, but ExecCGI is on ... but it only executes things with .cgi extension.

Of course, I can get the front page to come up, but all the links have 'view' hard-coded in them.

-- Richard Colley - Richard.Colley@alcatelPLEASENOSPAM.com.au (3 Feb 2000)


That makes sense. It is relatively easy to implement: Add a new variable %CGISUFFIX% that is expanded from the $cgiSuffix variable in the configuration file wikicfg.pm . The $cgiSuffix variable is empty by default, but can be set to ".cgi" if needed.

All templates that refer to a CGI script need that %CGISUFFIX% appended, i.e.

  • from: %SCRIPTURL%/view/Main/GoodStyle
  • to: %SCRIPTURL%/view%CGISUFFIX%/Main/GoodStyle

Will be implemented in an upcoming release.

-- PeterThoeny - 03 Feb 2000


Has been implemented. Available in Beta.

-- PeterThoeny - 11 Feb 2000

TopicClassification:
FeatureDone
Topic revision: r2 - 12 Feb 2000 - 08:11:54 - PeterThoeny
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback