You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Laurent Ducos <la...@biblibre.com> on 2015/06/03 09:02:26 UTC

Koha and mod_perl

Hello, i try to use koha (http://koha-community.org/) whith mod_perl

my configuration is  :
--------- APACHE HTTP CONF --------
DocumentRoot /home/koha/src/koha-tmpl
ScriptAlias /cgi-bin/koha/ "/home/koha/src/opac/"
ScriptAlias /index.html "/home/koha/src/opac/opac-main.pl"
ScriptAlias /opac-search.pl "/home/koha/src/opac/opac-search.pl"
ScriptAlias /search "/home/koha/src/opac/opac-search.pl"

PerlModule ModPerl::Registry
PerlOptions +Parent
PerlSwitches -I/home/koha/src
<Location /cgi-bin/koha/>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
</Location>
--------- END OF CONF --------

Works great, but sometimes i have strange bug. Exemple : 50 request on real page OK and 2 request on the same page 404 not found, or logged out and logged out again from admin interface). If i reboot apache koha/mod_perl work again, some time.


-- 
Laurent Ducos
Administrateur Systèmes et Réseaux
+33974770716

Re: Koha and mod_perl

Posted by Laurent Ducos <la...@biblibre.com>.
Le Wednesday 03 Jun 2015 à 09:02:26 (+0200), Laurent Ducos a écrit :
> Hello, i try to use koha (http://koha-community.org/) whith mod_perl
> 
> my configuration is  :
> --------- APACHE HTTP CONF --------
> DocumentRoot /home/koha/src/koha-tmpl
> ScriptAlias /cgi-bin/koha/ "/home/koha/src/opac/"
> ScriptAlias /index.html "/home/koha/src/opac/opac-main.pl"
> ScriptAlias /opac-search.pl "/home/koha/src/opac/opac-search.pl"
> ScriptAlias /search "/home/koha/src/opac/opac-search.pl"
> 
> PerlModule ModPerl::Registry
> PerlOptions +Parent
> PerlSwitches -I/home/koha/src
> <Location /cgi-bin/koha/>
> SetHandler perl-script
> PerlResponseHandler ModPerl::Registry
> Options +ExecCGI
> </Location>
> --------- END OF CONF --------
> 
> Works great, but sometimes i have strange bug. Exemple : 50 request on real page OK and 2 request on the same page 404 not found, or logged out and logged out again from admin interface). If i reboot apache koha/mod_perl work again, some time.
> 
my OS configuration is debian wheezy, mariadb 10, 

Perl 5.14.2-21+deb7u2  amd64

mod_perl version
Package: libapache2-mod-perl2
Version: 2.0.7-3
Installed-Size: 2885
Maintainer: Debian Perl Group <pk...@lists.alioth.debian.org>
Architecture: amd64

apache version
Package: apache2
Version: 2.2.22-13+deb7u4