[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-httpd-dev
Subject: Re: Change another module's setting
From: "William A. Rowe, Jr." <wrowe () rowe-clan ! net>
Date: 2007-02-20 17:57:37
Message-ID: 45DB3691.4000708 () rowe-clan ! net
[Download RAW message or body]
Nick Kew wrote:
> On Tue, 20 Feb 2007 11:59:59 +0100
> Marc Stern <marc.stern@approach.be> wrote:
>
>> How is it possible to modify another module's setting, like, for
>> instance, the content of a 'SSLDirConfigRec' structure (from mod_ssl)
>> from another module ?
>
> 1. There's no general API for it.
> 2. But a module may export an API for such things.
> 3. And if it doesn't, you can still cheat by manipulating its
> internals directly. That of course is at your own risk:
> you'll need to declare your module as tied to an exact version.
And you will need the same key for get config as the module uses,
which generally use the foo_module structure as their key. You need
to inspect the other module's source to determine this.
Bill
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic