vi_srikanth has asked for the wisdom of the Perl Monks concerning the following question:
Hi
I am unable to use Apache::DProf! Please help.
This is what I have in httpd.conf:
<FilesMatch "^.*\.pl$">
SetHandler perl-script
PerlHandler Apache::Registry
PerlModule Apache::DProf
</FilesMatch>
# Startup script (runs when apache starts)
PerlRequire "/srv/spark/conf/startup.pl"
If I execute a perl file through browser, I am getting the following error in the error_log:
[error] Undefined subroutine &Apache::Registry::handler called.\n
as well as getting "Internal Server Error" in the browser.
If I remove the line "PerlModule Apache::DProf" from the httpd.conf, the page is properly getting loaded in the browser without reporting any error.
Kindly help.
Thanks
Srikanth
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Code Profiling with Apache::DProf - Getting Error!
by sen (Hermit) on Jun 07, 2007 at 09:49 UTC |