httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@dedasys.com (David N. Welton)
Subject 2.0, chdir, content generation
Date Thu, 04 Apr 2002 09:10:51 GMT

[ please CC responses ]

Question for you guys:

I'm working on a module for 2.0, which generates content (with Tcl).
In 1.3, prior to setting things in motion, I did a

ap_chdir_file(r->filename);

to have everything running in the right place.  In 2.0, because of the
threading, this doesn't strike me as being such a good idea.

What might be an effective strategy for running a script in a known
place on the filesystem?  Put a mutex on everything?  Yuck...

Thoughts?  Ideas?

Thankyou for your time,
-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

Mime
View raw message