https://issues.apache.org/bugzilla/show_bug.cgi?id=46530





--- Comment #3 from Rudy Amid <[email protected]>  2009-01-15 10:01:44 
PST ---
(In reply to comment #2)
> Since you get the usage message of your cgi I'm wildly guessing it could be BZ
> 46380. Are you using the worker MPM? 46380 does not occur with prefork.
> 
> You can apply the patch
> 
> http://svn.apache.org/viewvc?view=rev&revision=726636
> 
> and report back, whether it helps, so that we add it to the backport list.
> 

We are using MPM.  I will try it with prefork and report what happens.

We did suspect it might be mod_cgid when we saw this 2.2.10 revision notes:

  *) mod_cgid: Pass along empty command line arguments from an ISINDEX
     query that has consecutive '+' characters in the QUERY_STRING,
     matching the behavior of mod_cgi.
     [Eric Covener]

I got the patch, as you suggested, from:
http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_cgid.c?view=markup&pathrev=726636

But compiling it with 2.2.11 I get the following error below.

mod_cgid.c: In function `get_req':
mod_cgid.c:350: error: `core_request_config' undeclared (first use in this
function)
mod_cgid.c:350: error: (Each undeclared identifier is reported only once
mod_cgid.c:350: error: for each function it appears in.)
mod_cgid.c:350: error: `temp_core' undeclared (first use in this function)
mod_cgid.c:368: error: `DYNAMIC_MODULE_LIMIT' undeclared (first use in this
function)
mod_cgid.c:370: error: parse error before ')' token
mod_cgid.c: In function `send_req':
mod_cgid.c:462: error: `core_module' undeclared (first use in this function)
mod_cgid.c: In function `cgid_server':
mod_cgid.c:625: error: `ap_unixd_config' undeclared (first use in this
function)
mod_cgid.c: In function `cgid_init':
mod_cgid.c:877: error: `ap_preloaded_modules' undeclared (first use in this
function)
make[3]: *** [mod_cgid.lo] Error 1
make[3]: Leaving directory
`/apps/home/ramid/src/httpd-2.2.11/modules/generators'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/apps/home/ramid/src/httpd-2.2.11/modules/generators'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/apps/home/ramid/src/httpd-2.2.11/modules'
make: *** [all-recursive] Error 1


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to