Re: [apache-ssl] SSL Detection Within Server
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [apache-ssl] SSL Detection Within Server




In article <025101bdca16$df157aa0$1ffd1581@reactor.isc.rit.edu> you wrote:

> Be careful when using Suexec, however. The cleanenv() function kills off all
> the SSL-specific variables.

It shouldn't. As I remember correctly Apache-SSL has a similar patch for
suexec.c as mod_ssl has:

#ifdef MOD_SSL
    if (!strncmp(*ep, "HTTP_", 5) ||
        !strncmp(*ep, "HTTPS", 5) ||
        !strncmp(*ep, "SSL_", 4)) {
#else
    if (!strncmp(*ep, "HTTP_", 5)) {
#endif

So, the SSL-specific variables should remain. If that's not the case you
either run an old Apache-SSL version or the suexec.c patch was rejected when
applying the Apache-SSL patch. Check your suexec.c program for the above
snippet (replace MOD_SSL with APACHE_SSL, of course).

Greetings,
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com