httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: Perl CGI
Date Thu, 27 Jun 2002 05:45:55 GMT
As I'm not very experienced in *nix, so I can't give a good answer. What
user is Apache running under? Unless it's root, you've answered your own
question. The solution would be to either run Apache as root, or change the
ownership of the perl modules to the Apache user. This is very speculative,
as I don't know *nix, but to do directory listings you need the directory to
have the execute bit set, right? I don't know if perl need to do a listing
before loading the module, but may be something. Also, try to get the script
working on the command line (presumably under the same user as Apache)
before you do it through Apache.

Robert Andersson

----- Original Message -----
From: "Robert Davis" <>
To: "Apache Users" <>
Sent: Wednesday, June 26, 2002 11:52 PM
Subject: Perl CGI

> I cannot get PERL cgi scripts to work with apache. I know that PERL
> is setup correctly. I keep getting errors such as...
> Can't locate in @INC (@INC contains:
> /opt/perl5/lib/5.6.1/PA-RISC2.0 /opt
> /perl5/lib/5.6.1 /opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0
> /opt/perl5/lib/site_perl/5.6.1 /opt/perl5/lib/site_perl
> I checked and this file ( exists in that location (it is
> owned by root though)...any ideas??
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message