[greenstone-users] Error in Config Apache and Librarian Interface for Remote Server (Client GLI)

From Anupama of Greenstone Team
DateFri Feb 19 15:12:35 2010
Subject [greenstone-users] Error in Config Apache and Librarian Interface for Remote Server (Client GLI)
In-Reply-To (a97d67a70910130126o13db927bq8f9905d54ace9738-mail-gmail-com)
Hello Nguyen Anh Tuan,

Sorry to respond so late. Are you still having the issues you mentioned
in your very old email from October?

I think the 2nd problem you mentioned, that of the Remote Server/Client
GLI, is because of the 1st.

Could you try out the following and see if it helps with the issue:

1. Change the following in your Apache httpd.conf file
# Setting up the Apache webserver to work with Greenstone2
> ScriptAlias /gsdl/cgi-bin "C:/Greenstone2/cgi-bin"
> <Directory C:/Greenstone2/cgi-bin>
> Options None
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>

2. Check that cgi-bin/library.exe has executable permissions.


Alternatively, perhaps you wish to try Greenstone 2.83. It includes an
Apache web server which has a dialog associated with (the Greenstone
Server Interface). The dialog's File > Settings menu contains controls
similar to the local library server on Windows and which allow you to
adjust such things as hostname, port, whether the site is visible only
locally is visible to remote machineds.

Regards,
Anupama

Anh Tuan wrote:
> Dear all!
>
> *1. Error in Config Apache: *
>
> I'm using Window XP2, Greenstone 2.82 (installed with path:
> *C:Greenstone2*, apache 2.2.9, I had config httpd.conf file in apache:
>
> *Listen: 8080*
> **
> *ServerName: Localhost*
> **
> # Setting up the Apache webserver to work with Greenstone2
> ScriptAlias /gsdl/cgi-bin "C:/Greenstone2/cgi-bin"
> <Directory C:/Greenstone2/cgi-bin>
> Options None
> AllowOverride None
> </Directory>
>
> Alias /gsdl "C:/Greenstone2"
> <Directory C:/Greenstone2>
> Options Indexes MultiViews FollowSymLinks
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
>
> And
>
> Edited the file gsdlsite.cfg located in your $GSDLHOMEcgi-bin too
> *- gsdlhome "C:Greenstone2"*
> *- httpprefix /gsdl*
> *- httpprefix /gsdl/image*
> **
> (step by step introuducing the helping:
> http://wiki.greenstone.org/wiki/index.php/Setting_up_an_Apache_Web_Server_for_Greenstone_2_Walkthrough)
>
> And I test with Internet Explorer: http://thuvienso:8080
> <http://thuvienso:8080/> *I work!*
> **
> But http://thuvienso:8080/gsdl/cgi-bin/library.exe with attension
> error: *http: 403*
>
>
> The website declined to show this webpage
>
> *This error (HTTP 403 Forbidden) means that Internet Explorer was able
> to connect to the website, but it does not have permission to view the
> webpage.*
>
> *For more information about HTTP errors, see Help.*
>
> /Please help me to find out that I did wrong/
>
> *2. Error using Librarian Interface for Remote Server (Client GLI)*
>
> When using this function, It response with errors following:
>
> An error has occurred on the remote Greenstone server while performing
> this operation:
>
> Server returned HTTP reponse code: 403 for URL:
> http://thuvienso:8080/gsdl/cgi-bin/gliserver.pl?cmd=greenstone
> server-version&ts=1255417135984
>
>
>
> Then I click *ok, *a another pop up appear
>
>
>
> *Please enter your Greenstone username and password:*
>
>
>
> And I fill: username of greenstone and password which I created
>
>
>
> And an other pop up appear
>
>
>
> *An error has occurred on the remote Greenstone server while performing
> this operation:*
>
> *Server returned HTTP reponse code: 403 for URL:
> **http://thuvienso:8080/gsdl/cgi-bin/gliserver.pl?cmd=get.script-options$script=classinfo.pl&language=en&listall&un=nguyenanhtuan&pw=524397&ts=1255417489296*
> <http://thuvienso:8080/gsdl/cgi-bin/gliserver.pl?cmd=get.script-options$script=classinfo.pl&language=en&listall&un=nguyenanhtuan&pw=524397&ts=1255417489296>
>
>
>
> Then I click *ok* and an other pop up appear:
>
>
>
> *Unable to get the list of classifiers using classinfo.pl
> <http://classinfo.pl> -listall*
>
>
>
> Continuing Click *ok *an other pop up appear:
>
> * *
>
> Unable to get the list of plugins using pluginfo.pl <http://pluginfo.pl>
> - listall.
>
>
>
> Continuing Click *ok *an other pop up appear:
>
>
>
> An error has occurred on the remote Greenstone server while performing
> this operation:
>
> Server returned HTTP reponse code: 403 for URL:
> http://thuvienso:8080/gsdl/cgi-bin/gliserver.l
>
> /How can I do for it running? please see more attached files (error
> files, httpd.conf and gsdlsite.cfg)/
>
> Thanks for your helping!
>
> --
> Nguyen Anh Tuan - Viet Nam
>
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users