>
>> 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...
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, "server
->
>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
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);
Apache directives
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;
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 =