perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmel...@vipcompute.com
Subject Re: "use lib" statements in startup.pl
Date Fri, 24 Mar 2000 23:06:21 GMT
> > As you can see, @INC does not contain either of the directories. 
> > AIX 4.3.3, Apache 1.3.11, mod_perl 1.21
> 
> This may be a silly question, but are you executing your script under
> Apache::Registry or just as a regular cgi script?  Apache::Registry
> allows you to run (mostly) unmodified perl cgi scripts under mod_perl,
> but the scripts have to be executed from a location which has
> Apache::Registry as its PerlHandler.
> 
> For instance, in httpd.conf:
> 
> <Location /perl>
>         SetHandler      perl-script
>         PerlHandler     Apache::Registry
>         PerlSendHeader  On
>         Options         +ExecCGI
> </Location>
> 
> Then your script would go in <DocumentRoot>/perl.
> 
> - Matt

Not a silly question at all.  I was running it under Apache::PerlRun 
instead of Apache::Registry.  However, I made the change, 
stopped and started Apache, and tried again, and got the same 
@INC error.

-- Jonathan


Mime
View raw message