MORE: Re: Re: [Fwd: [greenstone-users] Web library installation of gsdl 2.81]

From John Rose
DateSun Jan 4 03:52:28 2009
Subject MORE: Re: Re: [Fwd: [greenstone-users] Web library installation of gsdl 2.81]
Hello,

I can answer most of my own questions now, for
other non-specialists, thanks to Diego Spano:

You don't have to rename "server.exe" in the
greenstone2 home directory to get the webserver
to work. This was suggested only so that GLI
would promote for a database preview path, but
this path can be specified in the GLI
Preferences, Connection tab. In any case, you
have to call the web server version from your
browser (with a url like
http://localhost/gsdl/cgi-bin/library), not with
the "Greenstone Server" Start menu entry (which
strangely calls the local server even if
"server.exe" has been renamed, as long as it still has an exe extension).

You don't have to add an exe extension to
"library" in the cgi-bin subdirectory, as long as
you refer to it as "library" and not
"library.exe" in the calling url and in the GLI
Preferences, Connection tab. Similarly,
"oaiserver" in the etc subdirectory does not need
the exe extension that it had in v2.80 in order
to get the OAI-PMH server function to work.

However, in order to get the webserver to work,
you will probably have to edit the gsdlsite.cfg
file in the cgi-bin subdirectory, notably by
ensuring that the gsdlhome parameter ponts to the
Greenstone 2 home directory (e.g.
gsdlhome "c:Program Filesgreenstone2", don't
forget parenthesis if there are spaces in the
path), and also the httpprefix and httpimg
parameters if the webserver's DocumentRoot is not
the Greenstone home directory (for example,
"httpprefix /gsdl httpimg" and "/gsdl/images" if
the alias for the home director is gsdl). I did
not have to specify the remaining parameters
(gwcgi, javahome and perlpath) even though the
instructions in the gsdlsite.cfg implied that I
should have had to do so (perhaps Waikato colleagues can advise on this).

Best regards, John

>Date: Fri, 02 Jan 2009 11:57:52 +0100
>To: greenstone-users@list.scms.waikato.ac.nz
>From: John Rose <johnrose@alumni.caltech.edu>
>Subject: Re: Re: [Fwd: [greenstone-users] Web
>library installation of gsdl 2.81]
>
>
>Hello,
>
>I have followed Biju's advice and find indeed
>that if I change the name of server.exe in the
>home directory (for example to xserver.exe) and
>call the Greenstone Server from the Start menu,
>the program xserver.exe is loaded and Greenstone
>works. I don't know how to see if it is calling
>my Apache webserver (which I configured as
>before with the new home directory for
>greenstone2), but I don't think so since when I
>stop Apache, Greenstone still works. It used to
>be possible to call Greenstone through Apache
>with a url like
>http://localhost/gsdl/cgi-bin/library.exe but
>now not possible since "library" is no longer an
>executable file. It would be useful if
>Greenstone team colleagues could explain in
>simple language what is happening (and perhaps
>include in the release notes), since the new
>situation is confusing for those of us
>programming neophytes who have built a mental
>model around the old way things worked.
>
> Best regards
> and Happy New Year, John Rose of Greenstone Team
>
>>From: "Biju R" <bijuraghavan@gmail.com>
>>Cc: greenstonesupport@iimk.ac.in, greenstone-users@list.scms.waikato.ac.nz
>>To: Rajan <rajankila@hotmail.com>
>>Date: Wed, 31 Dec 2008 10:35:26 +0530
>>
>>Subject: Re: [Fwd: [greenstone-users] Web library installation of gsdl 2.81]
>>
>>Dear Mr. Rajasekharan
>>
>>Greenstone 2.81 will install both the web
>>library and local library together. You can
>>install Apache and connect the Greenstone as
>>you have done for the earlier version. GLI will
>>use the local library by default. To get GLI to
>>use the web library, rename server.exe in the
>>Greenstone2 directory to something else.
>>
>>With regards
>>
>>Biju
>>FOR Greenstone Support for South Asia
>>
>>On Wed, Dec 31, 2008 at 9:42 AM,
>><<mailto:sunitha@iimk.ac.in>sunitha@iimk.ac.in> wrote:
>>---------------------------- Original Message ----------------------------
>>Subject: [greenstone-users] Web library installation of gsdl 2.81
>>From: "Rajan" <<mailto:rajankila@hotmail.com>rajankila@hotmail.com>
>>Date: Tue, December 30, 2008 4:53 pm
>>To:
>><mailto:greenstone-users@list.scms.waikato.ac.nz>greenstone-users@list.scms.waikato.ac.nz
>>
>>--------------------------------------------------------------------------
>>Hi,
>>I could not find out the choice selector for
>>Web Library mode of installation in gsdl 2.81
>>when I tried to install Web library
>>installation over the Local library installation in the same computer.
>>Is it possible to install gsdl 2.81 in the web
>>library mode using Apache as we had been installing earlier versions ?
>>Regards,
>>K Rajasekharan
>>Kerala Institute of Local Administration
>>_______________________________________________
>>greenstone-users mailing list
>><mailto:greenstone-users@list.scms.waikato.ac.nz>greenstone-users@list.scms.waikato.ac.nz
>>
>>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
> John B. Rose
> 1 Bis, Rue des Ch□tre-Sacs
> 92310 S□vres
> France
> Email: <john.rose1@free.fr>
> (in case of bounce then
> send to <johnrose@alumni.caltech.edu>)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20090103/2dd035de/attachment.html