use Apache2::ServerRec (); $timeout = $s->timeout(); #### #!/opt/local/bin/perl package MyApache2::Timeout; use strict; use warnings; use CGI::Carp qw{fatalsToBrowser}; use Apache2::ServerRec(); use Apache2::Const -compile => qw{OK}; sub handler { my $r = shift; $r->content_type('text/plain'); my $timeout = $r->timeout(); return Apache2::Const::OK; } 1; #### PerlModule MyApache2::Timeout SetHandler modperl PerlResponseHandler MyApache2::Timeout