httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: Question about ap_get_module_config
Date Fri, 20 Oct 2006 17:02:03 GMT
On Friday 20 October 2006 17:30, m.spinetti@pisa.iol.it wrote:
> Hi all,
> I have a question about ap_get_module_config.

That serves two purposes, and I think you're confusing them.

For your server configuration, you'll use it with r->per_dir_config
or s->module_config.  Those should generally be treated as
read-only when processing a request.

For per-request data, you use it with r->request_config.

See my .sig for more.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Mime
View raw message