----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
My configuration: Apache 1.3.9, ApacheJServ1.1(DSO linked with EAPI
enabled), OpenSSL 0.9.4, ajpv12
After completing my installation, I was able to access the SSL_CLIENT_DN in
the cgi enviroment, but not with servlets.
I confirmed org.apache.jserv.JServConnection was not receiving
SSL_CLIENT_DN while reading the request data, and that mod_jserv was not
sending it in jserv_ajpv12.c(ajpv12_handler). That is,
request->subprocess_env was not null, but had no data in it's hash.
After tracking through the apache code, the only place I could find that set
up request->subprocess_env, was in util_script.c(ap_add_common_vars) using
ApacheSSLAddCommonVars. As this is used when processing cgis, and not
servlets, this code is not called in my case.
To get around the problem I have added a function call
"ApacheSSLAddCommonVars(request)" to jserv_ajpv12.c, just prior to sending
SSL_CLIENT_DN. I did it here to minimise the impact to my test/deployment
apache sites. ie: only changed mod_jserv.
I presume I've incorrectly configured JServ, or perhaps apache? I would have
thought apache should have called "ApacheSSLAddCommonVars" in
http_protocol.c in ap_read_request.
Where should request->subprocess_env be populated for servlet requests?
What part of the configuration process have I messed up?
Any ideas?
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]