Package: piwi
Version: 0.8+20041206-3
Severity: important

Hi, as far as I can tell, piwi works as a cgi script here.  To confirm that,
I mucked with my /var/lib/dpkg/status, removed libapache-dbi-perl and
libapache-mod-perl packages, restarted Apache and piwi still works.  The
dependency on libapache-dbi-perl seems superfluous.

What's more confusing, the provided /etc/piwi/httpd.conf sets up a
cgi-handler for .pl files in piwi directory, but then loads a PerlModule
(which AFAIK will not be used at all in a cgi).  This looks Just Plain
Wrong.

A clean cgi-based default config looks fine as a solution: just remove the
PerlModule line and replace libapache-dbi-perl dependency with libdbi-perl.

If you want to stick with the mod_perl alternative, you could provide
another httpd.conf (in doc/piwi/examples/?) with a clean mod_perl
configuration (no cgi-handler stuff), and replace the dependency with
"libdbi-perl | libapache-dbi-perl".

I think there's no need to depend on mod_perl (and friends) if piwi can work
without it.

Regards,
Zoran

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.31-grsec
Locale: LANG=hr_HR, LC_CTYPE=hr_HR (charmap=ISO-8859-2)

Versions of packages piwi depends on:
ii  apache [httpd]                1.3.33-6   versatile, high-performance HTTP s
ii  libapache-dbi-perl            0.94-2     Connect apache server to database 
ii  libdate-calc-perl             5.4-3      Perl library for accessing dates
ii  libdbd-mysql-perl             2.9006-1   A Perl5 database interface to the 
ii  mysql-client                  4.0.24-10  mysql database client binaries
ii  perl                          5.8.4-8    Larry Wall's Practical Extraction 
ii  postgresql-client             7.4.8-1cn0 front-end programs for PostgreSQL

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to