Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 10596 invoked from network); 17 Sep 2009 06:11:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Sep 2009 06:11:28 -0000 Received: (qmail 62192 invoked by uid 500); 17 Sep 2009 06:11:24 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 62149 invoked by uid 500); 17 Sep 2009 06:11:24 -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 62140 invoked by uid 99); 17 Sep 2009 06:11:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 06:11:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of massimilianomuccinelli@gmail.com designates 209.85.218.208 as permitted sender) Received: from [209.85.218.208] (HELO mail-bw0-f208.google.com) (209.85.218.208) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 06:11:15 +0000 Received: by bwz4 with SMTP id 4so67276bwz.24 for ; Wed, 16 Sep 2009 23:10:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=8FBCWTFT/6EGhQUKg0+iJEqAyZiVcbjgc/oC1TX7ajk=; b=XyT4mw9yKXO3N8K7s2/WJNY+x8Rm2UHut5K2eYtRCr/h1ISHlhCMrk8/zsn0Hy7cnK em0bel3CvhkRdPq/WKFn/yxQZrxjnRfZJ3HbsaEUKrG7ih9xDUpNnLeHnZatijf7UJ1i wZhC5W8Ka/nHlniPtFxxI0BjSFsFHdMPmaydE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=IuaabswyoFQRZEQ9GnR2mi0+hZxQRsp+mSN9sxIofo83InOzHEIEfISEJwGlq2aNSP Hidarbrheu1ELHNA3K4TTknSKhLSrvknId5lub6/d+7RvuKuoiot7rUpXc9zqYawGEDZ ZvINSDCx/9CromHO2rbmZr6mL3K7zW7k9yc5E= MIME-Version: 1.0 Received: by 10.223.144.67 with SMTP id y3mr3373581fau.40.1253167854083; Wed, 16 Sep 2009 23:10:54 -0700 (PDT) In-Reply-To: <6ed6382b0909162248h6094e599o75d05522ea18b98f@mail.gmail.com> References: <6ed6382b0909162248h6094e599o75d05522ea18b98f@mail.gmail.com> Date: Thu, 17 Sep 2009 08:10:54 +0200 Message-ID: From: Massimiliano Muccinelli To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Problem with RewriteCond 2009/9/17 Krist van Besien : > On Thu, Sep 17, 2009 at 7:15 AM, Massimiliano Muccinelli > wrote: >> Hi all >> >> I've got this rule >> >> #### >> =A0RewriteEngine On >> =A0RewriteCond %{HTTP_HOST} ^(www\.)?manitese\.it$ [NC] >> =A0RewriteRule ^$ http://www.manitese.it/landing [R=3D301,L] >> #### >> >> It works nice but i'd like t redirect only the www.manitese.it >> request... not for example the www.manitese.it/?p=3D123 requests... how >> do i have to change it? > > Add: > ReweriteCond %{QUERY_STRING} ^$ > > In front... > ... I get an error 500... That's the error log "[Thu Sep 17 07:57:45 2009] [alert] [client 82.59.218.217] /var/www/.htaccess: Invalid command 'ReweriteCond', perhaps misspelled or defined by a module not included in the server configuration" .M --------------------------------------------------------------------- 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