Hello,
I just tried to compile a SSL-patched (mod_ssl-2.0.13) apache version,
but *without* activating mod_ssl:
gcc -c -I../../os/unix -I../../include -DSOLARIS2=251 -DMOD_PERL
- -DUSE_HSREGEX -DSERVER_SUBVERSION=\"PHP/3.0.3\" -O2 -DFPX_CORE_PATCH
- -I/usr/local/include `../../apaci` proxy_http.c
proxy_http.c: In function `ap_proxy_http_handler':
proxy_http.c:251: `use_ssl' undeclared (first use this function)
proxy_http.c:251: (Each undeclared identifier is reported only once
proxy_http.c:251: for each function it appears in.)
Ralf: you missed one ifdef around lines 251-253 within proxy_httpd.c
(just checked with current developer version @ engelschall.com)
There are also missing some conditional Makerules, to prevent
to make the certificate stuff, if mod_ssl is disabled.
patch for mod_proxy: ('+' marks missing lines within the following patch)
***************
*** 205,211 ****
if (urlptr == NULL)
return HTTP_BAD_REQUEST;
urlptr += 3;
! destport = DEFAULT_HTTP_PORT;
strp = strchr(urlptr, '/');
if (strp == NULL) {
desthost = ap_pstrdup(p, urlptr);
- --- 248,257 ----
if (urlptr == NULL)
return HTTP_BAD_REQUEST;
urlptr += 3;
+#ifdef MOD_SSL
! if (use_ssl)
! destport = DEFAULT_HTTPS_PORT;
! else
+#endif
! destport = DEFAULT_HTTP_PORT;
strp = strchr(urlptr, '/');
if (strp == NULL) {
desthost = ap_pstrdup(p, urlptr);
Thanks again for creation and working on mod_ssl.
Jan
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]