R: R: new Apache directives

1999-06-12 Thread Andrea e Luca Giacobazzi
I recommend you to look at existing configuration functions or read the excellent book from L.Stein and D.MacEachern "Writing Apache Modules in Perl and C". There all those gory details are explained very well. Unfortunately the book isn't still isuued in Italy ! Err... www.amazon.com

R: new Apache directives

1999-06-11 Thread Andrea e Luca Giacobazzi
- Every function in ssl_engine_config.c has a hook in mod_ssl.c! What you need is something like this: AP_SRV_CMD(Ldap, RAW_ARGS, ) Then you get the "server=..." string as one large thing. You can also try ITERATE instead of RAW_ARGS, then you get a key=value pair per function call.

Re: R: new Apache directives

1999-06-11 Thread Ralf S. Engelschall
On Fri, Jun 11, 1999, Andrea e Luca Giacobazzi wrote: Thanks Ralph, I succesfully added the new directives, like that: const char *ssl_cmd_SSLLdap( cmd_parms *cmd, SSLDirConfigRec *dc, char *arg) { SSLSrvConfigRec *sc = mySrvConfig(cmd-server); if (strcEQn(arg, "servers:",

new Apache directives

1999-06-09 Thread Andrea e Luca Giacobazzi
I tryed to add a routine to process a new Apache directory SSLLdap, in ssl_engine_config.c: const char *ssl_cmd_SSLLdap( cmd_parms *cmd, SSLDirConfigRec *dc, char *arg) { SSLSrvConfigRec *sc = mySrvConfig(cmd-server); char *servers, *user, *pwd; FILE *fp; sc-ldapServers =

Re: new Apache directives

1999-06-09 Thread Ralf S. Engelschall
On Wed, Jun 09, 1999, Andrea e Luca Giacobazzi wrote: I tryed to add a routine to process a new Apache directory SSLLdap, in ssl_engine_config.c: const char *ssl_cmd_SSLLdap( cmd_parms *cmd, SSLDirConfigRec *dc, char *arg) { SSLSrvConfigRec *sc = mySrvConfig(cmd-server);