Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 66720 invoked from network); 27 Jun 2008 09:51:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jun 2008 09:51:44 -0000 Received: (qmail 64197 invoked by uid 500); 27 Jun 2008 09:51:34 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 64181 invoked by uid 500); 27 Jun 2008 09:51:34 -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 64170 invoked by uid 99); 27 Jun 2008 09:51:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2008 02:51:34 -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 (athena.apache.org: domain of sviollat@abritel.fr designates 212.43.223.55 as permitted sender) Received: from [212.43.223.55] (HELO mail2.abritel.fr) (212.43.223.55) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 27 Jun 2008 09:50:42 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail2.abritel.fr (Postfix) with ESMTP id E38862C857 for ; Fri, 27 Jun 2008 11:50:28 +0200 (CEST) X-Virus-Scanned: by amavisd-new at abritel.fr X-Spam-Score: - X-Spam-Level: Received: from mail2.abritel.fr ([127.0.0.1]) by localhost (mail2.abritel.fr [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sNKymN1M3rRX for ; Fri, 27 Jun 2008 11:50:28 +0200 (CEST) Received: from [10.120.1.46] (unknown [213.30.184.126]) by mail2.abritel.fr (Postfix) with ESMTP id C1C512C850 for ; Fri, 27 Jun 2008 11:50:28 +0200 (CEST) Message-ID: <4864B886.4030106@abritel.fr> Date: Fri, 27 Jun 2008 11:53:10 +0200 From: Sylvain Viollat User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=x tagged_above=-99999 required=5 WHITELISTED tests=[] Subject: [users@httpd] Redirect URL with arguments Hi, I need to redirect the URL http://www.mydomain.net/index.php?ref=10 to http://www.mydomain.com/. I've added the following line in www.mydomain.net VirtualHost : RedirectMatch permanent / http://www.mydomain.com The problem is that all queries which contain something after the .net/ (eg. index.php?ref=10), are redirect to http://www.mydomain.com/ref=10 Is there a way to get ride of the element to get http://www.mydomain.com ? I hope my question has sense because my english is not that good ! Thanks --------------------------------------------------------------------- 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