Web Library cgi program

From Kevin Ollivier
DateThu, 10 Apr 2003 14:52:14 -0700
Subject Web Library cgi program
In-Reply-To (43310-138-23-88-132-1050004805-squirrel-library-ucr-edu)
Hi all,

I'm in the process of developing a web-browser application for EClass (our
e-learning app) that has server functionality embedded and would pop up when
the end user inserts an EClass CD. I'm using Python/wxPython to put this
together, and have a CGI-capable web server (the one in the Python
libraries) as the backend. All seems to be running fine, however, I hit a
snag when trying to integrate Greenstone into this. Basically, the problem
is that Greenstone's library CGI program requires gsdlhome to be set to an
absolute path in gsdlsite.cfg, but I won't know the absolute path until the
server has been started.

Is there any way I can have the library accept a relative path to gsdlhome
and/or determine it's absolute path dynamically? If not, where in the
library CGI code are these values read in? =)