httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Gröver <gro...@sitepark.com>
Subject Re: Is "UseCanonicalName" in effect? How to find out
Date Thu, 22 Aug 2013 16:11:14 GMT

Hello list,

> Probably I just have to import this and use the values in this
> structure? 

Well, no answer yet. I found an example code where someone just uses the
core_dir_config structure by including the http_core.h header file and
reading the value use_canonical after getting the config of the
core_module like this:

 core_dir_config *conf =
     (core_dir_config *) ap_get_core_module_config(r->per_dir_config);

Works fine. If there's a more elegant way e.g. a function I'd still
like to hear it. 

Greetings
-- 
Christoph Gröver


Mime
View raw message