You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Arnim Rupp <Ar...@Connector.de> on 2000/08/21 14:19:03 UTC

HELP: problem with environment in different instances of mod_perl ?

hi folks,

i have a problem which seems to occurs just in some of the instances of
mod_perl. most of the time the script runs right, but sometimes it shows the
error:

Can't locate Lib/Mail.pm in @INC (@INC contains: ...

when i press "reload" and send the form-data again it works, if i press
reload several times, the error shows up again after the 2nd-5th time.

"Lib/Mail.pm" is located in . , so it seems to be a problem with the
environment, any ideas ? (i hardcoded the path into the script as a
workaround, but would prefer a clean solution.)

i'm using: Server: Apache/1.3.12 (Unix) mod_perl/1.24 mod_ssl/2.6.4
OpenSSL/0.9.5

httpd.conf-part is:

<Location /cgi-bin>
        SetHandler  perl-script
        PerlHandler Apache::Registry
        PerlSendHeader On
        Options +ExecCGI
        Authtype Basic
	  ...
</Location>


thx
arnim


-------------------------------------------------
Arnim Rupp          Fon:  +49-6221-13801-15 
Connector GmbH      Fax:  +49-6221-13801-10
Hertzstrasse 2      Mail: arnim.rupp@connector.de
69126 Heidelberg    Web:  www.connector.de    
Germany             Priv: www.rupp.de