-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If you are running mp2 that's true simply because of the fact that chdir in perl is not thread-safe :-(
If you are running in prefork(which is only available on *nix) you could chdir yourself at the top of your handler. Tom Jan Eden schrieb: > Hi, > > I just noticed that the working directory for scripts executed via a mod_perl > handler is /. > > Is there a way to change that? Some of the scripts I use rely on the > directory they are stored in is the current working directory. > > Thanks, > > Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC7gfRkVPeOFLgZFIRAt8pAKCKCOD7vjeCgaA1rM18++zxgj1EfQCeIM4C QAMOTh3qv3isXWIcpFY+cF0= =9u+Q -----END PGP SIGNATURE-----