perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "diarmuid ryan" <diam...@neongroves.net>
Subject mod_perl app fails to load after browsing several pages
Date Tue, 07 Jun 2005 13:43:52 GMT
Hi,

I am having trouble with a modperl app i am currently developing. i browse a
couple of pages
and perform a few actions but after a short time i am getting a blank
response from the server, see access log below, which indicates nothing in
the bytes returned part. no errors show in the error logs. this is happening
to me both with apache 1.3/modperl 1 and apache 2/mod perl 2. but it happens
on various different pages, not any one in particular. so my guess is that
it is the start script that hasa problem. any help in trying to troublshoot
this would be most helpful.

thanks in advance
diarmuid



apache access log
============================================================================
=====================
192.168.0.2 - - [07/Jun/2005:14:37:49 +0100] "GET
/perl/schoolweb.cgi?action=ManageNews HTTP/1.1" 200 -
============================================================================
=================
script
===================================================
#!/usr/bin/perl -w

use CGI;
use CGI::Carp qw(fatalsToBrowser);

use strict;

use lib '/srv/www/admin.schoolweb.ie/perl';

use SchoolWeb::Base;

$CGI::POST_MAX = 1024 * 1500;

srand;

BEGIN {

   my $q = new CGI;

   my $action = 'SchoolWeb::Actions::' . ($q->param('action') || 'Index');

   eval "use $action";

   $action->new();

}


Mime
View raw message