Re: [mp2] working directory of scripts

[prev] [thread] [next] [Date index for 2005/01/15]

From: Markus Wichitill
Subject: Re: [mp2] working directory of scripts
Date: 19:14 on 15 Jan 2005
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 directory per 
script, because working directories are always per process.

http://perl.apache.org/docs/2.0/user/coding/coding.html#Thread_environment_Issues

[mp2] working directory of scripts
Geoff Mishkin 16:08 on 15 Jan 2005

Re: [mp2] working directory of scripts
Sean Davis 17:18 on 15 Jan 2005

Re: [mp2] working directory of scripts
Geoff Mishkin 17:26 on 15 Jan 2005

Re: [mp2] working directory of scripts
Sean Davis 18:03 on 15 Jan 2005

Re: [mp2] working directory of scripts
___cliff rayman___ 18:42 on 15 Jan 2005

Re: [mp2] working directory of scripts
Markus Wichitill 19:14 on 15 Jan 2005

Re: [mp2] working directory of scripts
Torsten Foertsch 19:46 on 15 Jan 2005

Re: [mp2] working directory of scripts
Geoff Mishkin 21:07 on 15 Jan 2005

Generated at 17:42 on 27 Jan 2005 by mariachi v0.52