oh...@cox.net wrote:
>
> oh...@cox.net wrote:
> > Hi,
> >
> > This is a followup to an earlier post/question, "How to access client
> > certificate PEM and incoming request headers in a module?".
> >
> > As before, I'm starting with mod_headers.c, and then tweaking it, partly
> >
oh...@cox.net wrote:
> Hi,
>
> This is a followup to an earlier post/question, "How to access client
> certificate PEM and incoming request headers in a module?".
>
> As before, I'm starting with mod_headers.c, and then tweaking it, partly
> experimenting with modules, and partly for a p
Hi,
This is a followup to an earlier post/question, "How to access client
certificate PEM and incoming request headers in a module?".
As before, I'm starting with mod_headers.c, and then tweaking it, partly
experimenting with modules, and partly for a project that I'm working on
(eventually).
Hi,
Also, I configured the Apache for client-authenticated SSL, and hit the
https:///test URL, and the dump_envvars() output only one additional
variable:
In ap_headers_insert_output_filter: About to call dump_envvars...
In iterate_function: [UNIQUE_ID] => [T993fkjX4QkAAHanMQwA]
In iterate_
Hi,
I found some snippets that I used to make some dump_requests and dump_envvars
functions:
/* START DUMP CODE
* Adapted from: http://thomas.eibner.dk/apache/table.html
*/
int iterate_func(void *req, const char *key, const char *value) {
int stat;
char *line;
request_rec *r = (req
Hi Sorin and Ben,
I found a list of variables somewhere, and just (probably unluckily) picked
REMOTE_URI, just to see if retrieving any variable would work (an experiment).
Is there a list of environment variables that WOULD return something other than
null for that call?
Thanks,
Jim
B
On Mon, Jun 18, 2012 at 8:53 AM, wrote:
> I added a call to header_request_env_var(r, "REMOTE_URI"), just to see what
> it got (running Apache in single-process mode):
>
> printf("REMOTE_URI=[%s]\n", header_request_env_var(r, "REMOTE_URI") );
>
> Then I pointed a browser to http:///test, where /
On 2012-06-18 08:53, oh...@cox.net wrote:
Hi,
I'll look at ssl_var_lookup a little later, but I'm still messing around with
mod_headers.c, tweaking it to understand how THAT is working :)...
I added a call to header_request_env_var(r, "REMOTE_URI"), just to see what it
got (running Apache in