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
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2000-02-12 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.