Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 72169 invoked from network); 20 Jun 2009 00:57:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jun 2009 00:57:35 -0000 Received: (qmail 57258 invoked by uid 500); 20 Jun 2009 00:57:45 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 57208 invoked by uid 500); 20 Jun 2009 00:57:45 -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 57198 invoked by uid 99); 20 Jun 2009 00:57:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Jun 2009 00:57:45 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.202.165.218] (HELO smtpout05.prod.mesa1.secureserver.net) (64.202.165.218) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 20 Jun 2009 00:57:34 +0000 Received: (qmail 30218 invoked from network); 20 Jun 2009 00:57:12 -0000 Received: from unknown (76.252.112.72) by smtpout05.prod.mesa1.secureserver.net (64.202.165.218) with ESMTP; 20 Jun 2009 00:57:12 -0000 Message-ID: <4A3C33C0.2020508@rowe-clan.net> Date: Fri, 19 Jun 2009 19:56:32 -0500 From: "William A. Rowe, Jr." User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: modules-dev@httpd.apache.org Subject: Re: Envitonment variables inside mod_alias: is it real? References: <588107.20854.qm@web111213.mail.gq1.yahoo.com> In-Reply-To: <588107.20854.qm@web111213.mail.gq1.yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Александр Макаренко wrote: > Hi, guys! I got such trouble and need some help or advice: using mod_alias directives AliasMatch or Alias... I thought about inserting environment variables like HTTP_HOST inside of these directives. I tried luck with %{some_var} or ${some_var} (like in mod_reqwrite: variable or mapping, respectively), but got no results. So... my questions: is this real to use env's in mod_alias directives for now? And are there reasons for rejecting env's in this module? > Second question, in other words, means: "I'm thinking of patch for mod_alias.c"... Think mod_rewrite; overloading efficient directives with inefficient implementations isn't likely to be a good solution :)