This patch introduces a new Win32 specifc config. directive to direct
Apache to optionally search the Win32 registry for the interpreter to
run scripts with. The default is to peek the shebang (!#) line at the
beginning of the script. The directive is:
Win32InterpreterSource
It takes a single argument, either "registry" or "shebang" (unquoted, of
course).
ap_call_exec() in the Win32 path has been simplified and cleaned up a
bit. If a registry search fails, the code will peek the shebang (and
issue an informational message that the registry search failed). I
have a couple of ideas on how to make 16-bit CGI's work; all are hacks
and are not included with this patch. I'm inclined to say we just don't
support them.
I'm looking for comments and suggestions.
Thanks,
Bill Stoddard
stoddard@raleigh.ibm.com
|