Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 68038 invoked from network); 17 Nov 2006 03:45:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Nov 2006 03:45:50 -0000 Received: (qmail 13183 invoked by uid 500); 17 Nov 2006 03:45:49 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 12879 invoked by uid 500); 17 Nov 2006 03:45:48 -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 12868 invoked by uid 99); 17 Nov 2006 03:45:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 19:45:48 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jslive@gmail.com designates 66.249.82.231 as permitted sender) Received: from [66.249.82.231] (HELO wx-out-0506.google.com) (66.249.82.231) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 19:45:35 -0800 Received: by wx-out-0506.google.com with SMTP id i29so862305wxd for ; Thu, 16 Nov 2006 19:45:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=N6rR/OH8IcTTRFz3nrJJ06gplys+WBdfVWRoPOOGj8z0MG+2sT377QEFVjWiKw9RVwvVmpJ3mrFsJEH49huhPatzTLw0BSew1nORaTUTRi2BkYV6je4SYHwzKNyCfHF505PcuDs+8pY2g455BbkTc+7p7PXmOzpKTSEq3wOIq2Y= Received: by 10.70.113.13 with SMTP id l13mr2161516wxc.1163735114741; Thu, 16 Nov 2006 19:45:14 -0800 (PST) Received: by 10.70.20.4 with HTTP; Thu, 16 Nov 2006 19:45:14 -0800 (PST) Message-ID: Date: Thu, 16 Nov 2006 22:45:14 -0500 From: "Joshua Slive" Sender: jslive@gmail.com To: users@httpd.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 8d8ae6815dbbfd67 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Rewriterule syntax not working On 11/16/06, Darly Coupet wrote: > Old url > http://www.sitename.com/Merchant2/merchant.mv?Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz > > New URL > http://www.sitename.com/index.php?action=view_user&user=2 > > htaccess is located in folder Merchant2 > > RewriteEngine On > RewriteBase / > RewriteCond %{QUERY_STRING} > ^Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz$ > RewriteRule ^/Merchant2/merchant.mv > http://www.sitename.com/index.php?action=view_user&user=2 > [R=301,L] > > It s still not being rerouted. Third try: Use the RewriteLog! Given that you are in an .htaccess file, the RewriteRule will be matching relative to the current URL-path, so you probably want RewriteRule merchant.mv ... You're welcome to post again, but I'm not personally going to help you anymore unless you try to help yourself a little Joshua. --------------------------------------------------------------------- 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