You are here: Foswiki>Tasks Web>Item2366 (15 Apr 2011, GeorgeClark)Edit Attach

Item2366: extender.pl requires bin rather than cgi-bin option

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Extension
Component: Configure
Branches:
Reported By: EdMcDonagh
Waiting For:
Last Change By: GeorgeClark
When using the extender function to install new plugins, an error message occurs if the perl scripts are not in /bin. On my installation on a hosted website, the cgi-bin folder is created automatically, so this is where I move the executable scripts.

By changing lines 95 and 96 to be cgi-bin rather than bin the error goes away and the script seems to function correctly.

There is a setting in configure to set the scripturlpath, and therefore this should be respected in the extender code, rather than requiring use of /bin.

-- EdMcDonagh - 16 Nov 2009

Fixed in 1.1. Also had to update the Util mapper code to remap the bin directory to the {ScriptDir} so that files are installed into the correct directories. The changes to the mapper doesn't have equivalent function in 1.0.x, so this will be fixed in 1.1 only.

Note that now the installer expects to find lib and data directories as an indication that it's running from the Foswiki root.

-- GeorgeClark - 02 Aug 2010

ItemTemplate edit

Summary extender.pl requires bin rather than cgi-bin option
ReportedBy EdMcDonagh
Codebase 1.0.7
SVN Range Foswiki-1.0.7, Sun, 20 Sep 2009, build 5061
AppliesTo Extension
Component Configure
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:9faa8279149a
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r5 - 15 Apr 2011, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy