Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 63175 invoked from network); 16 Aug 2005 13:32:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Aug 2005 13:32:36 -0000 Received: (qmail 60255 invoked by uid 500); 16 Aug 2005 13:32:25 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 60237 invoked by uid 500); 16 Aug 2005 13:32:25 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 60223 invoked by uid 99); 16 Aug 2005 13:32:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2005 06:32:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [196.30.191.122] (HELO pyro.cenergynetworks.com) (196.30.191.122) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2005 06:32:44 -0700 Received: from localhost.cenergynetworks.com ([127.0.0.1] helo=pyro.cenergynetworks.com) by pyro.cenergynetworks.com with smtp (Exim 4.51) id 1E51YC-000AdB-sH for users@httpd.apache.org; Tue, 16 Aug 2005 15:32:20 +0200 Received: from wbs-146-190-217.telkomadsl.co.za ([165.146.190.217] helo=MEGADROID) by pyro.cenergynetworks.com with esmtpa (Exim 4.51) id 1E51Y3-000Ad5-r2 for users@httpd.apache.org; Tue, 16 Aug 2005 15:32:11 +0200 Message-ID: <04a801c5a266$e722f940$0a02a8c0@MEGADROID> From: "Chris Knipe" To: References: <034901c5a196$73c00ea0$0a02a8c0@MEGADROID> <043001c5a1a5$0df54220$0a02a8c0@MEGADROID> Date: Tue, 16 Aug 2005 15:32:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on pyro.cenergynetworks.com X-Spam-Level: X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.0.3.0, Antispam-Data: 2005.3.10.17 X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Subject: Re: [users@httpd] rewritemap help? X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > Try something like > RewriteCond ${MyMap:%{HTTP_HOST}|not-found} !=not-found > RewriteRule (.*) http://${MyMap:%{HTTP_HOST}}$1 > > And be sure to use the RewriteLog to help you debug. Joshua, Just one more thing very quickly (I haven't tested, it's on a production server now), Can I put wildcard records in the map file as well, or will that break things? *.host.com *.internal.host.com ? I would believe that this will affect other lines in the map file, hence, I'd rather ask first before just doing it.... -- Chris. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org