look at:
mod_ssl-2.2.7-1.3.6/pkg.sslmod/mod_ssl.c
at about line 144 for where the SSL configuration directives are defined for
the Apache through the module API.
http://www.apache.org/docs/misc/API.html#commands
Actually the whole document is great, but that internal link is the most
relevant part for this question.
<re-enter-lurk-mode>
- David Harris
Principal Engineer, DRH Internet Services
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Andrea e Luca Giacobazzi
Sent: Wednesday, June 09, 1999 2:28 PM
To: [EMAIL PROTECTED]
Subject: new 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;
sc->ldapServers = ap_server_root_relative(cmd->pool, arg);
fp = fopen("/tmp/prova.log", "w");
fprintf(fp, "%s", sc->ldapServers);
fflush(fp);
fclose(fp);
return NULL;
}
But the thing I miss is where the routines in ssl_engine_config.c are
invoked and where the directives in httpd.conf are processed. I need to add
the new one, like that:
SSLLdap servers="string" user="string" pwd="string"
Thanks
Andrea
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]