It sounds like you either don't have mod_perl(Apache::*) installed correctly or you don't have your Apache libs in your @INC. Try:  (perldoc Apache::Status) from the command line and see if it finds the module. if it doesn't, make sure you are pointing to the right libs in your startup.pl. i.e. use lib qw(/dir/where/ApachePM's); good luck
-----Original Message-----
From: Pawel Piecuch [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 8:36 AM
To: [EMAIL PROTECTED]
Subject: perl-status problems

With this config file, when I access /perl-status I got message in log file:
 
[Wed Aug  8 14:09:00 2001] [error] Undefined subroutine &Apache::Status::handler called.
What does it mean?
Pawel
 
 
<VirtualHost 195.216.96.8:80>
        ServerName www.energetyka.net
        ServerAdmin [EMAIL PROTECTED]
        DocumentRoot /home/almainet/www-enet/html
        Alias /cgi-bin/ /home/almainet/www-enet/cgi-bin/
        Alias /cgi-admin/ /home/almainet/www-enet/cgi-admin/
        ErrorLog /var/log/httpd/enet-error.log
        CustomLog /var/log/httpd/enet-access.log combined
 
        PerlModule B::TerseSize
        PerlModule Apache:Status
 
        <Location /cgi-admin>
            SetHandler perl-script
            PerlHandler Apache::Registry
            Options ExecCGI
            Allow from all
            PerlSendHeader On
        </Location>
 
        <Location /cgi-bin>
            SetHandler perl-script
            PerlHandler Apache::Registry
            Options ExecCGI
            Allow from all
            PerlSendHeader On
        </Location>
 
        <Location /server-status>
                SetHandler server-status
                Order deny,allow
                Deny from all
                Allow from .almainternet.pl .alma.poznan.pl
        </Location>
 
        <Location /server-info>
                SetHandler server-info
                Order deny,allow
                Deny from all
                Allow from .almainternet.pl .alma.poznan.pl
        </Location>
 
        <Location /perl-status>
                SetHandler perl-script
                PerlHandler Apache::Status
                PerlSetVar StatusOptionsAll On
                PerlSetVar StatusTerse On
                PerlSetVar StatusTerseSize On
                PerlSetVar StatusTerseSizeMainSummary On
                order deny,allow
                Deny from all
                Allow from .almainternet.pl .alma.poznan.pl
        </Location>
</VirtualHost>
 
 
 
 
Paweł Piecuch
______________________________________
_ Zawarte w niniejszej wiadomości oświadczenia stanowią
_ oświadczenia woli lub wiedzy składane w imieniu Alma Internet S.A
_
_ Alma Internet SA
_ tel +48-61-8432630, fax +48-61-8432629
_ www: http://www.almainternet.pl e-mail: [EMAIL PROTECTED]
_

Reply via email to