On Sat, Aug 8, 2015 at 9:58 PM, Francesco Pasqualini <fra...@gmail.com> wrote:
> Hi Eric, > I confirm that the patch changes mod_cgi > > infact mod_cgi.c calls the function ap_create_environment in > util_script.c: > > env = ap_create_environment(r->pool, r->subprocess_env); > > so applying the patch to util_script.c, recompiling mod_cgi.c and > installing mod_cgi.so under the $root/modules dir will do the trick > No, util_script code is not included in individual modules; it is compiled into the main httpd core, which on Windows is largely in libhttpd.dll. There are a number of ways that httpd can be built on Windows (largely based on the Microsoft compiler version and 32-bit vs. 64-bit but also based on SDK level and support libraries). The provider of your httpd build would need to compile a new version for you in order to avoid compatibility problems. > > > thanks > > Francesco > > On Sat, Aug 8, 2015 at 8:33 PM, Eric Covener <cove...@gmail.com> wrote: > >> On Sat, Aug 8, 2015 at 2:24 PM, Francesco Pasqualini <fra...@gmail.com> >> wrote: >> > Hi to all, >> > >> > Can someone help me ? >> > >> > I have a httpd in production on windows affected by this problem: >> > >> > https://bz.apache.org/bugzilla/show_bug.cgi?id=46751#c4 >> > >> > Can someone compile for me a fixed (john proposal) version of >> mod_cgi.so ? >> >> That patch doesn't change mod_cgi, you need a new httpd.exe or >> libhttpd.lib (not sure what goes where on Windows). Might have more >> luck on ApacheLounge with a test build of the entire server. >> > > -- Born in Roswell... married an alien... http://emptyhammock.com/