You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Martin Kraemer <ma...@mch.sni.de> on 1999/02/16 14:32:20 UTC

[PATCH] use ap_execve() for suexec if defined(NEED_HASHBANG_EMUL)

I am currently updating suexec.c for the BS2000 OS, and noticed that it
is unable to start a CGI _script_ unless the OS supports the #!...
script interpreter syntax. This flaw is present for all OS's without
#! support, not just BS2000.

Since the ap_execve() function already deals with this, it is
IMO straightforward to use it in this situation.

See the patch.

    Martin
-- 
<Ma...@MchP.Siemens.De>      |        Siemens Information and
Phone: +49-89-636-46021               |        Communication  Products
FAX:   +49-89-636-47816               |        81730  Munich,  Germany