Changes with Apache 2.0b1
+ *) Get exe CGI's working again on Windows.
+ [Allan Edwards]
+
*) Get mod_cgid and mod_rewrite to work as DSOs by changing the way
they keep track of whether or not their post config hook has been
called before. Instead of a static variable (which is replaced when
/*
* Build the command string to pass to ap_os_create_privileged_process()
*/
- quoted_filename = apr_pstrcat(p, "\"", argv0, "\"", NULL);
+ quoted_filename = apr_pstrcat(p, "\"", r->filename, "\"", NULL);
if (interpreter && *interpreter) {
if (arguments && *arguments)
*cmd = apr_pstrcat(p, interpreter, " ", quoted_filename, " ",
*cmd = apr_pstrcat(p, quoted_filename, NULL);
}
#else
- *cmd = argv0;
+ *cmd = apr_pstrcat(p, r->filename, NULL);
#endif
return APR_SUCCESS;
}