Thanks a lot for the advice, everyone. This seems to be working for me; I'm
just having another error about not being able to load some other library
(Apache::Request), but I think I'll be able to figure it out.
Just to clarify what I said earlier, my DocumentRoot is not /, but the
working direct
On Saturday 15 January 2005 17:08, Geoff Mishkin wrote:
> I've got mod_perl (version 1.99.11) all up and running on Apache (version
> 2.0.52), but the working directory of my scripts is always set to / when
> mod_perl runs them, instead of being the directory the script is in. This
http://perl.apa
Geoff Mishkin wrote:
I've got mod_perl (version 1.99.11) all up and running on Apache (version
2.0.52), but the working directory of my scripts is always set to / when
mod_perl runs them, instead of being the directory the script is in.
If you happen to use a threaded MPM, you can't use a working
Geoff Mishkin wrote:
I've got mod_perl (version 1.99.11) all up and running on Apache (version
2.0.52), but the working directory of my scripts is always set to / when
use lib qw(.); # that's a period in between the parens.
--
[EMAIL PROTECTED]
- Original Message -
From: "Geoff Mishkin" <[EMAIL PROTECTED]>
To:
Sent: Saturday, January 15, 2005 12:26 PM
Subject: Re: [mp2] working directory of scripts
Hi Sean, thanks for the reply.
However, my problem is that the working directory is set to the root of my
fil
Hi Sean, thanks for the reply.
However, my problem is that the working directory is set to the root of my
filesystem, not the document root. I'm not sure an alias would help here;
the only thing I can think of (other than using chdir()--which would
involve changing all the scripts for the webapps
Geoff,
You may want to set an alias for the directory for your scripts. You could
do something like (from apache2 docs):
the Alias directive will map any part of the filesystem into the web space.
For example, with
Alias /docs /var/web
the URL http://www.example.com/docs/dir/file.html will be