In the scripts subdirectory is a file called "driver", the comments at the top of the file say its used to run CGI scripts. In a standard 2.1.5 installation I don't see anything that actually invokes "driver", but perhaps I've overlooked something. When is driver invoked? Is it only for optional third party cgi scripts?
John Dennis <jdennis@redhat.com>
John Dennis wrote:
In the scripts subdirectory is a file called "driver", the comments at the top of the file say its used to run CGI scripts. In a standard 2.1.5 installation I don't see anything that actually invokes "driver", but perhaps I've overlooked something. When is driver invoked? Is it only for optional third party cgi scripts?
"driver" is invoked directly by the wrappers in cgi-bin. See src/cgi-wrapper.c
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Mon, 2005-02-28 at 10:34, John Dennis wrote:
In the scripts subdirectory is a file called "driver", the comments at the top of the file say its used to run CGI scripts. In a standard 2.1.5 installation I don't see anything that actually invokes "driver", but perhaps I've overlooked something. When is driver invoked? Is it only for optional third party cgi scripts?
Look in src/cgi-wrapper.c. This C file is compiled into the actual binaries that live in cgi-bin, and it's used to hop into the CGI Python scripts, via... yep! the driver script.
-Barry
participants (3)
-
Barry Warsaw
-
John Dennis
-
Mark Sapiro