[Reddes.bvs-tech] assistance with iAH installed as part of ABCD in non-standard folder

De Smet Egbert egbert.desmet at ua.ac.be
Wed Jun 29 06:39:53 BRST 2011


Hi,

all other parts of ABCD are working well, so I am sure that CGI is set properly and also wxis is running. The only part where adjusting the paths in the configuration file (in this case iah.php.def) has not the expected result is iAH..
I suppose it has to do with the 2nd parameter there :
PATH_CGI-BIN=/ABCD/www/htdocs/iah/scripts/
which I adjusted by adding the extra path in front.
I also changed the  header location in index.php :
header("Location: /cgi-bin/wxis.exe/iah/scripts/?IsisScript=iah.xis&lang=" . $lang . "&base=" . $base);
but I suppose here the /cgi-bin/ is already substituted by the CGI-BIN path given in the iah.def.php ?
As said, the error message is that iAH responds that is cannot find the given URL for wxis.exe.

Egbert de Smet
Antwerpen, Belgium
________________________________________
From: Asael Costa da Silva [asael.silva at bireme.org]
Sent: Monday, June 27, 2011 4:54 PM
To: De Smet Egbert
Cc: reddes bvs-tech
Subject: Re: assistance with iAH installed as part of ABCD in non-standard folder

Dear Egbert

IAH and ABCD are web applications that require the CGI (common gateway interface) to be set and active in Apache configuration file.
Also notice that in case cgi-bin is put inside htdocs (document_root of domain name)
it may inherit permissions and behaviors set to that directory tree (htdocs).
Let me ask you if ABCD is working accordingly. In case it is working, try executing the cgi-bin/wxis.exe in the URL with the parameter what to see if it is executing without problems.
Let us know any advances on that.

Best regards

Asael Costa da Silva
Analista de Suporte
MTI/RST
BIREME/OPAS/OMS


----- Original Message -----
From: "De Smet Egbert" <egbert.desmet at ua.ac.be>
To: "asael silva" <asael.silva at bireme.org>
Sent: Thursday, 23 June, 2011 8:51:27 AM
Subject: assistance with iAH installed as part of ABCD in non-standard folder

Hello,

since you seem to be the only one at BIREME still in touch with the ABCD-community (I wonder what is happening...), I dare to ask you whether you - or one of your colleagues who is quite familiar with iAH - can answer the following question :
- I have installed ABCD on a server in Argentina running in Linux but without having access to the Apache configuration. I had to put the ABCD folder inside a folder /www/documentalistas.com.ar/htdocs, which is supposedly the Apache DocumentRoot folder. After changing the paths into the Central config.php, the iAH iah.def.php and the Site bvs-site-conf.php, the modules Central and Site (or Site/admin) work well this way, but not iAH or SeCS-Web. See http://www.documentalistas.com.ar/ABCD/www/htdocs
- so the actual folder for iAH becomes : /www/documentalistas.com.ar/htdocs/ABCD/www/htdocs/iah; I have filled in these paths into the file iah.def.php. ; still the OPAC gives an error of 'The requested URL /ABCD/www/cgi-bin/wxis.exe/iah/scripts/ was not found on this server. The URL I try is http://www.documentalistas.com.ar/ABCD/www/htdocs/iah which then is automatically translated into : http://www.documentalistas.com.ar/ABCD/www/cgi-bin/wxis.exe/iah/scripts/?IsisScript=iah.xis&lang=es&base=DBLIL.
In index.php of the iah-folder I have changed the location= to header(location=/ABCD/www/cgi-bin/wxis.exe/iah/scripts etc.
I also tried ../../cgi-bin/etc. in vain.

What am I doing wrong or should I do ? Or is this simply impossible without having access to the Apache configuration ?

Regarding SeCS-Web : the page opens well but without the libraries in the selection list. Since SeCS-Web takes its path dynamically from the actual directory from where the script is called, I don't understand why.

Egbert de Smet
Antwerpen, Belgium


More information about the Reddes.bvs-tech mailing list