Return-Path: X-Original-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 69E558106 for ; Sun, 14 Aug 2011 23:27:17 +0000 (UTC) Received: (qmail 52560 invoked by uid 500); 14 Aug 2011 23:27:17 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 52499 invoked by uid 500); 14 Aug 2011 23:27:15 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 52491 invoked by uid 99); 14 Aug 2011 23:27:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Aug 2011 23:27:15 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of info@simonecaruso.com designates 94.23.41.186 as permitted sender) Received: from [94.23.41.186] (HELO mail.keedra.com) (94.23.41.186) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Aug 2011 23:27:07 +0000 Received: from [192.168.1.2] (unknown [151.74.196.4]) by mail.keedra.com (Postfix) with ESMTPSA id 95A8E2B1F2 for ; Mon, 15 Aug 2011 01:26:45 +0200 (CEST) Message-ID: <4E4859AC.2030807@simonecaruso.com> Date: Mon, 15 Aug 2011 01:26:36 +0200 From: Simone Caruso User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: modules-dev@httpd.apache.org Subject: Re: Can't access module config from handler function References: <4E46A0EB.10901@simonecaruso.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > Using it in a would suggest it's per_dir config. >> >> I setup the shm in post_config hook: >> ap_hook_post_config(post_config_hook, NULL, NULL, APR_HOOK_REALLY_FIRST); > > ... but per_dir config for your location doesn't exist at post_config time! > Now im sure this is not a problem related to per_dir config, i tried without the directive. If i make changes in module config inside "post_config" hook i see these correctly in "translate_name" hook but NOT in the "ap_hook_handler", do someone knows why?? Thanks