Re: Errors after converting /cgi-bin to PerlRun

2002-11-10 Thread Stas Bekman
Frank Naude (FJ) wrote:

Hi,

I'm trying to convert my /cgi-bin directory to PerlRun as it only
contain Perl scripts. However, after doing so, I get numerous errors
like this:

  [Wed Nov  6 11:34:21 2002] [error] Can't locate object method "uri"
via
  package "Apache::PerlRun" at
  /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache/PerlRun.pm line
212.

I think it happens when processing a "require ;" contruct.


[...]


My software versions:

  Embedded Perl version v5.6.0 for Apache/1.3.22 (Unix)
(Red-Hat/Linux)
  mod_jk/1.2.0
  mod_perl/1.24_01

[...]

Would it be much of a trouble to upgrade to the latest mod_perl version 
1.27? Most likely this problem has been fixed long time ago.
[...]


__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@;stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Errors after converting /cgi-bin to PerlRun

2002-11-07 Thread Frank Naude (FJ)
Hi,

I'm trying to convert my /cgi-bin directory to PerlRun as it only
contain Perl scripts. However, after doing so, I get numerous errors
like this:

  [Wed Nov  6 11:34:21 2002] [error] Can't locate object method "uri"
via
  package "Apache::PerlRun" at
  /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache/PerlRun.pm line
212.

I think it happens when processing a "require ;" contruct.

My Apache config:

  # ScriptAlias /cgi-bin/ /home/virtual/site1/fst/var/www/cgi-bin/
  Alias /cgi-bin/ /home/virtual/site1/fst/var/www/cgi-bin/
  
 AllowOverride All
 SetHandler   perl-script
 PerlHandler  Apache::PerlRun
 Options  +ExecCGI
 PerlSendHeader On
  
  SetEnv SITE_CGIROOT /home/virtual/site1/fst/var/www/cgi-bin

My software versions:

  Embedded Perl version v5.6.0 for Apache/1.3.22 (Unix)
(Red-Hat/Linux)
  mod_jk/1.2.0
  mod_perl/1.24_01
  PHP/4.1.1
  FrontPage/5.0.2
  mod_ssl/2.8.5
  OpenSSL/0.9.6b

Please help.

Frank Naude