httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Caruso <i...@simonecaruso.com>
Subject Re: Can't access module config from handler function
Date Wed, 17 Aug 2011 16:06:51 GMT
On 17/08/2011 09:10, Zaid Amireh wrote:
> 
> On Aug 15, 2011, at 1:45 PM, Simone Caruso wrote:
> 
>> On 15/08/2011 01:44, Nick Kew wrote:
>>> or set up something server-wide
>> How? there's some code that can i read?
>>
> 
> You can use a global variable which gets set during apache's startup, you have to treat
it as read only after the childs initialize though, many modules do this.
> 
> Zaid
I discovered that the server_rec is a linked list (server_rec->next) of
configs... i solved attaching the shm/rmm addresses inside a while loop.

Mime
View raw message