Re: Problems with Apache 2.0, mod_perl2 and perl



"Eric R. Meyers" <ermeyers@xxxxxxxxxxxx> wrote:

John Bokma wrote:

"Eric R. Meyers" <ermeyers@xxxxxxxxxxxx> wrote:

http://localhost/cgi-bin/helloworld.cgi
Can't open CGI.pm for reading: 13

Yup, so in short: your CGI script is running as a user who has no
permission to read CGI.pm which means that perl can't open the module
to use it.


In httpd.conf both User and Group are apache by default, and I changed
it to root, nobody, ermeyers, and nothing seemed to matter. Nice
problem huh?

But does this make your script run as root (!!!), nobody, etc?

--
John Bokma Freelance software developer
&
Experienced Perl programmer: http://castleamber.com/
.



Relevant Pages

  • Re: Problems with Apache 2.0, mod_perl2 and perl
    ... your CGI script is running as a user who has no ... In httpd.conf both User and Group are apache by default, ... But does this make your script run as root, nobody, etc? ...
    (comp.lang.perl.modules)
  • Re: root privileges from cgi script?
    ... > I would welcome any suggestions on how to do two things from a CGI script; ... > I know suex can't be used because ROOT is specifically not allowed. ... > exit 0 ... > # Return hosts. ...
    (comp.unix.shell)
  • Re: Weird problem with UID settings
    ... >is root, ... If so you should read the relevant docs. ... (the apache 1.3 docs are very similar) ...
    (comp.unix.bsd.freebsd.misc)
  • Re: root privileges from cgi script?
    ... I require for a staff member to be able to initiate a backup script ... > a chain of backup processes. ... > I would welcome any suggestions on how to do two things from a CGI script; ... > I know suex can't be used because ROOT is specifically not allowed. ...
    (comp.unix.shell)
  • Re: Problems with Apache 2.0, mod_perl2 and perl
    ... Can't open CGI.pm for reading: ... your CGI script is running as a user who has no ... permission to read CGI.pm which means that perl can't open the module to ... Experienced Perl programmer: http://castleamber.com/ ...
    (comp.lang.perl.modules)