Nicholas Aaron Philbrook wrote:
I recently put together a Gentoo server with apache and mod_perl. I'm
trying to run a perl script that has a require statement for a local
file, i.e.

require "database_util.pl"
Also, interestingly the script will run fine from the command prompt
and duly chunk out the HTML that is supposed to show up on the web
page. The permissions are set appropriately, so that shouldn't be an
issue.
ModPerl::Registry does not chdir into your scripts directory.

See here:
http://perl.apache.org/docs/2.0/api/ModPerl/Registry.html#Description

use either
ModPerl::PerlRunPrefork or
ModPerl::RegistryPrefork


--
------------------------------------------------------------------------
"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

"I wanna hold ya till I die ... I wanna hold ya till the fear in me subsides."

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

Reply via email to