Return-Path: Delivered-To: apmail-tcl-websh-dev-archive@tcl.apache.org Received: (qmail 19084 invoked by uid 500); 26 Mar 2002 09:42:37 -0000 Mailing-List: contact websh-dev-help@tcl.apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list websh-dev@tcl.apache.org Received: (qmail 19072 invoked from network); 26 Mar 2002 09:42:37 -0000 Date: Tue, 26 Mar 2002 10:42:41 +0100 From: Ronnie Brunner To: "David N. Welton" Cc: websh-dev@tcl.apache.org Subject: Re: ap_chdir_file(r->filename); Message-ID: <20020326104241.B5111@netcetera.ch> Reply-To: Ronnie Brunner References: <878z8jkrvl.fsf@dedasys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <878z8jkrvl.fsf@dedasys.com>; from davidw@dedasys.com on Sat, Mar 23, 2002 at 08:26:22PM +0100 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > ap_chdir_file(r->filename); > > Any good reason not to do perform this operation? I think it makes > sense to be operating in the directory that the file is in. I don't think that this will work in Apache 2.0: changing the working directory in a multi-threaded environment is not a good idea according to my experience ;-) > I ask, because otherwise things like: > > source [file join . websh.com.gen] In that respect, this is not a good thing to do anyway. Absolute paths should be used. > in index.ws3, become a bit problematic (or at least it seems that way > to me...). For simplicity, we could provide some easy to use accessors to different directories (like server root, document root, path to current interp-pool source, or similar). But I wouldn't try to include this in the current release: we wanna finish soon, right? ------------------------------------------------------------------------ Ronnie Brunner ronnie.brunner@netcetera.ch Netcetera AG, 8040 Zuerich phone +41 1 247 79 79 Fax: +41 1 247 70 75 --------------------------------------------------------------------- To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org For additional commands, e-mail: websh-dev-help@tcl.apache.org