Item2366: extender.pl requires bin rather than cgi-bin option
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Extension
Component: Configure
Branches:
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