David Everly wrote:
On Thu, Aug 19, 2004 at 02:54:21PM +0300, Christoffer Landtman wrote:
I just tested You apt-get installation of Emilda on my Laptop and it
installed very well. There was however one issue that I ran into when
using my installation; there was no perl-execution directive in the
emilda.conf for allowing perl execution. By adding
AddHandler cgi-script .cgi .pl
Options ExecCGI
into the Emilda-directory section I got it working. Have You implemented
this directive in some other manner, or did I do something wrong?
I have not found the need for this with the standard apache
installation. Do you have a heavily modified httpd.conf before
installing emilda? Which debian/sarge package are you using for
your webserver? Please let me know and I'll try testing here
also (I have been mostly using apache-ssl).
Note that the emilda packages put CGIs in the standard Debian location,
so much of this should be handled automatically:
/usr/lib/cgi-bin/emilda/MARC.pl
/usr/lib/cgi-bin/emilda/PDF.pl
/usr/lib/cgi-bin/emilda/barcode.pl
/usr/lib/cgi-bin/emilda/book_manager.pl
(dpkg -L emilda will show the location of most of the emilda files and
directories, /var/lib/dpkg/info/emilda.* will show the rest of the
pre/post install logic)
I also assume you are using the latest package (0.20040818.cvs-1).
Yes, I have the latest package. I just noticed what You pointed out that
the perl folder no longer is under the source folder of Emilda. Is there
any particular reason why doing it this way, or just "bad habit" ? ;-) I
personally would prefer to have the perl folder under emilda so that it
would be easier to manage/administer the system, and just adding a few
more directives in the emilda.conf. But if You can convince me why to
have it in cgi-bin, I'm willing to change oppinion. The reason why I
would like to define it with directives, is that this would allow me to
use mod_perl to execute the scripts, not only the cgi-module.
The actual problem arose when i created an emilda-cvs folder that was
just a new source-folder using the same database and the same configs as
You supplied Emilda package. There when having the perl folder under the
source folder, I had to add directives to allow perl execution in this
folder.
I also noticed that You have moved the Z39.50 servers into a separate
config, /etc/emilda/z3950-servers.inc or similar. I'm not sure if there
is actually a need for this as I have scheduled to move this entirely
into MySQL by the next milestone release (1.3 probably), but this is
also debateable.
------------------------------------------------------------------------
_______________________________________________
Emilda mailing list
Emilda@xxxxxxxxxxxxxxxxxx
http://lists.realnode.com/mailman/listinfo/emilda
--
Christoffer Landtman
Oy Realnode Ab
Partner, Sales
+358 (0)41 510 1073
landtman@xxxxxxxxxxx
www.realnode.fi
|