Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 43033 invoked from network); 1 Aug 2005 15:22:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Aug 2005 15:22:44 -0000 Received: (qmail 73718 invoked by uid 500); 1 Aug 2005 15:22:33 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 73698 invoked by uid 500); 1 Aug 2005 15:22:33 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 73685 invoked by uid 99); 1 Aug 2005 15:22:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2005 08:22:33 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [65.196.108.169] (HELO mail.liquidation.com) (65.196.108.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2005 08:22:25 -0700 Received: from [10.0.0.254] (everything.liquidation.com [65.196.108.171]) (authenticated bits=0) by mail.liquidation.com (8.12.9/8.12.9) with ESMTP id j71FSuum030571 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 1 Aug 2005 11:28:58 -0400 Message-ID: <42EE3E62.3030901@p6m7g8.com> Date: Mon, 01 Aug 2005 11:23:14 -0400 From: "Philip M. Gollucci" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Schindl CC: Jan Eden , modperl@perl.apache.org Subject: Re: Working directory: CGI vs. mod_perl References: <42EE07D1.7070508@gmx.at> In-Reply-To: <42EE07D1.7070508@gmx.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-4.86, required 5, AWL 0.04, BAYES_00 -4.90) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > 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. http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__Registry___C_Apache__PerlRun__and_Friends As it will say, use ModPerl::RegistryPrefork or ModPerl::PerlRunPrefork.