Hi,

That is all server says on
http://my.server.ru/kubok?aa=bb
and
http://my.server.ru/testmod1?

[Tue Apr 17 15:44:16 2001] [error] Undefined subroutine &main:: called.
[Tue Apr 17 15:44:18 2001] [error] Undefined subroutine &main:: called.

and that is httpd.conf
===
  PerlRequire /usr/local/www/my.server.ru/perl/Kubok.pm
  <Location /kubok>
    SetHandler  perl-script
    PerlHandler Kubok
    PerlSendHeader On
    CharsetSourceEnc windows-1251
    PerlSetupEnv On
    Options +ExecCGI
  </Location>

  <Location /testmod1>
    SetHandler  perl-script
    PerlHandler "sub { do '/home/vlads/TestMod1.pm'; print STDERR \"$!\n\";
TestMod1::handler(shift) }"
    PerlSendHeader On
    CharsetSourceEnc windows-1251
    PerlSetupEnv On
    Options +ExecCGI
  </Location>
===

Both scripts works on another mod_perl enabled server. This lame server
seems to be the same (as my sysadmin said) but the scripts does not work.
I searched conferences but I didn't find what exactly can cause such message
in server log :
[Tue Apr 17 15:44:18 2001] [error] Undefined subroutine &main:: called.

Any ideas, please?

Vlad.

Reply via email to