From krichel@openlib.org Thu Apr 8 16:52:08 2010 From: Thomas Krichel To: koha-devel@lists.koha-community.org Subject: [Koha-devel] mod_fcgid Date: Thu, 08 Apr 2010 16:51:55 +0200 Message-ID: <20100408145155.GD20322@authorclaim.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3621095727115469570==" --===============3621095727115469570== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Koha gang, I have koha running on a 500MB box, vintage 2000, maybe. Slow. I use it for a cataloging class. There 12 students use it simulatneously. Verrrry ssssllllooowwww. Half of class itme is spent waiting for koha. Now I thought I may be able to speed it up with mod_fcgid. I add FcgidInitialEnv PERL5LIB /usr/share/koha/lib AddHandler fcgid-script .pl AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all AddHandler fcgid-script .pl AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all AddHandler fcgid-script .pl AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all to both web server configurations.=20 In the apache error log, I see the contents of an error page, that has=20

An Error has Occurred!

Error 500

How this comes to the apache error log is a mystery to me. The koha-error log reports [Thu Apr 08 10:10:01 2010] [error] [client 74.72.242.150] Premature end of sc= ript headers: mainpage.pl [Thu Apr 08 10:10:02 2010] [warn] [client 74.72.242.150] (104)Connection rese= t by peer: mod_fcgid: error reading data from FastCGI server [Thu Apr 08 10:10:02 2010] [error] [client 74.72.242.150] Premature end of sc= ript headers: 500.pl which does not give me a trace on where to to look for the problem.=20 Does anybody have a hint? Cheers, Thomas Krichel http://openlib.org/home/krichel http://authorclaim.org/profile/pkr1 skype: thomaskrichel --===============3621095727115469570==--