Afternoon good perl people.

I am having a slight problem with Apache::DProf that I am more than sure is my fault and not the libraries.

I found this archived item that is very close to the problem i am seeing.

http://www.mail-archive.com/modperl@perl.apache.org/msg17075.html

I am running Apache2/prefork which was one problems Miles was having.

I am trying to profile CGI scripts and I am starting the server, and shutting it down before I look at the dmon files. Of which they never contain anything useful.

__ httpd.conf __________________________________

<IfModule perl_module>
 PerlModule Apache::DProf
 PerlModule Bundle::Apache2
</IfModule>

<Perl>
use Apache::DB ();
Apache::DB->init();

use lib '/opt/lampp/htdocs/lib';
use lib '/opt/lampp/htdocs/extlib';
</Perl>
Alias /mt/mt-static /opt/lampp/htdocs/mt-static
PerlModule MT::App::CMS
<Location /mt/app>
SetHandler perl-script
PerlHandler MT::App::CMS
PerlSetVar MTConfig /opt/lampp/htdocs/mt-config.cgi
</Location>
_____________________________________________


What I am after is the ability to profile the modules that were hit when a given URL was hit. But I am not getting any data for anything at the moment. So one step at a time as they say!

Anyone got any advice?

thank you

--
 Alan Williamson, Technology Evangelist
  SpikeSource Inc.
  b: http://compiledby.spikesource.com/

Reply via email to