On Mon, Jun 18, 2012 at 5:45 AM, <oh...@cox.net> wrote: > I haven't actually tried your suggestion yet, but, re. the SSL variables, I > was looking at mod_headers.c, and in there, there are two separate functions: > > static const char *header_request_env_var(request_rec *r, char *a) > { > const char *s = apr_table_get(r->subprocess_env,a); > > if (s) > return unwrap_header(r->pool, s); > else > return "(null)"; > } > > static const char *header_request_ssl_var(request_rec *r, char *name) > { > if (header_ssl_lookup) { > const char *val = header_ssl_lookup(r->pool, r->server, > r->connection, r, name); > if (val && val[0]) > return unwrap_header(r->pool, val); > else > return "(null)"; > } > else { > return "(null)"; > } > } > > So, it seems like the method to get the SSL variables is different than the > other environment variables? > > Or, does setting SSLOptions the way that you suggested cause the SSL variable > so also exist in apr_table_get(r->subprocess_env, xxxx)?
Oh, I forgot about that. It's the ssl_var_lookup optional function, that might even work without having to tweak SSLOptions.