Mailinglist Archive: opensuse (3182 mails)

< Previous Next >
Re: [opensuse] mod_perl in OpenSuse 10.2
  • From: Bruce Ferrell <bferrell@xxxxxxxxxxxx>
  • Date: Wed, 14 Mar 2007 21:42:49 -0700
  • Message-id: <45F8CEC9.2070803@xxxxxxxxxxxx>


Michael Folsom wrote:
Folks:

New to mod_perl and am having trouble getting mod_perl going on OpenSuse 10.2.

Have a system with apache installed and working and used yast to
install mod_perl from the install DVD.  It created the directory
/srv/www/perl-lib and in /etc/apache2 I find mod_perl-startup.pl and
in /etc/apache2/conf.d I find mod_perl.conf.

Problem is when I dropped the file rock.pl (see below) in
/srv/www/perl-lib it doesn't run - meaning I go to
http://server_name/perl-lib/rock.pl in a browser and get an "Object
not found!".

Permissions on rock.pl:
   -rwxr-xr-x 1 nobody nobody 85 2007-03-14 21:56 rock.pl

........................... rock.pl
#!/usr/bin/perl
print "Content-type: text/plain\n\n";
print "mod_perl 2.0 rocks!\n";

Suggestions appreciated!



Michael

what do the apache logs tell you?
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References