how to debug 'status 500'
Abraham Ingersoll (abe@honestabe.net)
Mon, 2 Oct 2000 17:30:45 -0700 (PDT)
Hi,
I'm developing a mod_perl app with LWP but whenever I try to get a
response object [$res = $UA->request($req);] I get the following error:
"Cannot get http://foor.com (status 500 (in cleanup))" --
unless ($res->is_success) {
print "Cannot get $url (status ",
$res->code, " ", $res->message,")\n";
}
..no matter what I specify as the request object ($url). This happens
under Apache/1.3.1 & mod_perl/1.24. (But does NOT happen with simple shell
scripts on the same machine.)
Can anyone tell me where I've gone wrong, or give me a pointer on how to
figure out exactly what's failing?
Thanks,
Abe