On Fri, Jul 23, 1999, Ruetzel, Arnold wrote:

> it's me again. I don't understand the use of ap_hook_use and how it would
> solve my problem. In my modules "URI to filename translation" phase I'd like
> to call the ssl's module handler "ssl_hook_fixup" which is setting up all
> SSL variables so the would be availbale to me immediately after the call to
> ssl_hook_fixup returns. Is there a way to do that right now? 
> I read the documentation provided in ap_hook.c but I don't understand the
> workings I also would appreciate a short explanation of how ap_hook_use
> works. Must the hook specified in ap_hook_use be configured and registered
> in mod_ssl before it can be used?   

The hooks _IS_ registered by mod_ssl, so you just have to use it with
ap_hook_use. Try it out in your module the same way mod_rewrite does it. It
internally calls the mod_ssl lookup function which is also used in the fixup
handler. So you don't have to run the fixup handler manually.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to