Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 83477 invoked from network); 26 Oct 2006 19:07:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 19:07:32 -0000 Received: (qmail 35238 invoked by uid 500); 26 Oct 2006 19:07:36 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 35227 invoked by uid 500); 26 Oct 2006 19:07:36 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 35215 invoked by uid 99); 26 Oct 2006 19:07:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2006 12:07:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gozer@ectoplasm.org designates 66.34.202.202 as permitted sender) Received: from [66.34.202.202] (HELO minerva.ectoplasm.org) (66.34.202.202) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2006 12:07:23 -0700 Received: from minerva.ectoplasm.org (localhost.localdomain [127.0.0.1]) by pmx.secure.ectoplasm.org (Postfix) with SMTP id 776345F566; Thu, 26 Oct 2006 12:07:03 -0700 (PDT) Received: from [10.8.0.10] (unknown [10.8.0.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by minerva.ectoplasm.org (Postfix) with ESMTP id F245E5F560; Thu, 26 Oct 2006 12:07:02 -0700 (PDT) Message-ID: <45410754.6020001@ectoplasm.org> Date: Thu, 26 Oct 2006 12:07:00 -0700 From: "Philippe M. Chiasson" User-Agent: Thunderbird 1.5.0.7 (X11/20061008) MIME-Version: 1.0 To: "Terry, Jason" CC: modperl@perl.apache.org Subject: Re: How to get virtualhost info in mod_perl? References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enigFA4349F4F011A4669BCFE0BB" X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.4.0.264935, Antispam-Data: 2006.10.26.105432 X-PerlMx-Spam: Gauge=IIIIIII, Probability=7%, Report='__BAT_BOUNDARY 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __HAS_MSGID 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' X-Virus-Checked: Checked by ClamAV on apache.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFA4349F4F011A4669BCFE0BB Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Terry, Jason wrote: > $ENV{=91SERVER_NAME=92} That wold also work. But in general, I wouldn't recommend using %ENV from within mod_perl, esp= ecially when the information you are looking for is readily available thru some A= PI like $r->server->server_hostname() -------------------------------------------------------------------------= ------- Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 8= 8C3A5A5 http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 8= 8C3A5A5 --------------enigFA4349F4F011A4669BCFE0BB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFFQQdUyzKhB4jDpaURA7XnAJ9/NDXJHUqRFIeBVnkXtRdqgVb3+QCfT5b+ TGiTASig1nHg/FJNhcz87HY= =8Fwy -----END PGP SIGNATURE----- --------------enigFA4349F4F011A4669BCFE0BB--