On Mon, 2004-06-28 at 12:56, Stuart Johnston wrote:
ExtendedStatus On <Location /server-status> SetHandler server-status </Location> <Location /vmonitor> SetHandler perl-script PerlHandler Apache::VMonitor </Location>
That's all? Try loading the module from a <Perl> section, as described in the documentation. Make sure you are loading Apache::Scoreboard too.
Here is what I have added to the end of a default httpd.conf file. Am I missing anything?
PerlModule Apache::Scoreboard <Location /scoreboard> SetHandler perl-script PerlHandler Apache::Scoreboard::send order deny,allow deny from all #same config you have for mod_status allow from 127.0.0.1 ... </Location>
<Location /system/vmonitor> SetHandler perl-script PerlHandler Apache::VMonitor </Location>
<Perl> use Apache::VMonitor(); $Apache::VMonitor::Config{refresh} = 0; $Apache::VMonitor::Config{verbose} = 0; $Apache::VMonitor::Config{system} = 1; $Apache::VMonitor::Config{apache} = 1; $Apache::VMonitor::Config{procs} = 1; $Apache::VMonitor::Config{mount} = 1; $Apache::VMonitor::Config{fs_usage} = 1; $Apache::VMonitor::Config{apache_sort_by} = 'size'; </Perl>
Does it matter that my system is not generating a scoreboard file even though it is defined in the conf file?
Thanks, Stuart Johnston
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html