httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject Re: mod_cgi and thread safety
Date Thu, 04 Feb 1999 04:06:18 GMT
Michael H. Voase wrote:
>            I know mod_include may need a chdir function
> sometime  in the future, but mod_cgi doesnt require it ..

Erm, yes it does.  CGI scripts are supposed to be started
with the cwd == the directory in which the script file is

Regardless of how it happens, the cwd needs to be correct
when the CGI script is started.  On Win32 this is done by
passing an argument to the Win32 create-a-child routine
(whatever it is).  A thread-safe way to do the same on Unix
will be welcome indeed.
#ken	P-)}

Ken Coar                    <http://Web.Golux.Com/coar/>
Apache Group member         <>
"Apache Server for Dummies" <http://Web.Golux.Com/coar/ASFD/>

View raw message