httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <>
Subject Re: call_exec way bogus in win32
Date Sun, 22 Mar 1998 21:53:01 GMT
Marc Slemko wrote:
> On Sun, 22 Mar 1998, Marc Slemko wrote:
> > It tries to exec r->filename instead of argv0, which completely screws
> > mod_include and exec cmd, etc.  When I change that, I get the whole server
> > hanging.
> >
> > There is also some interplay here with the fact that the current code
> > changes directories, but a threaded server can't do that.
> >
> Ok, the below patch seems to fix that and make exec cmd work.  It does
> not, however, work for programs without a path; eg. "foo.exe" will not
> work, but "/path/to/foo.exe" will.

OK, but now I'm puzzled. You complain that it tries to exec r->filename.
But that's what the Unix version does, too. So why shouldn't it???

At least, Unix does unless shellcmd is set. Win32 (and OS/2) pay no
attention to shellcmd. What gives?

> exec cgi is still broken, but that is because it doesn't allow references
> to CGIs outside.

I don't understand what you mean.



Ben Laurie            |Phone: +44 (181) 735 0686|  Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|
and Technical Director|Email: |
A.L. Digital Ltd,     |Apache-SSL author
London, England.      |"Apache: TDG"

View raw message