Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 13872 invoked from network); 29 Dec 2008 22:51:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Dec 2008 22:51:35 -0000 Received: (qmail 70498 invoked by uid 500); 29 Dec 2008 22:51:25 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 70480 invoked by uid 500); 29 Dec 2008 22:51: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 70471 invoked by uid 99); 29 Dec 2008 22:51:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Dec 2008 14:51:25 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bobsiegen@googlemail.com designates 209.85.200.171 as permitted sender) Received: from [209.85.200.171] (HELO wf-out-1314.google.com) (209.85.200.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Dec 2008 22:51:15 +0000 Received: by wf-out-1314.google.com with SMTP id 24so5491852wfg.15 for ; Mon, 29 Dec 2008 14:50:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=UXSad2+wXztXT1llOb+D+n2VTT92II+L0HHMR44I9LI=; b=OY/vIvsiZCxZaIe8wj8aBWA3XS6f+HnP94d//2tYRxzpcXF0/nhOznaAj5gPT5UGLq ksRhKL0SzaO1IsOO19X3E9i0yxGq0QwO7JEe5H7P/ZshLJoOtbBW9ivv/Siien6Piqix 0E0Tbz2VaksYX10wk08gbTp/gNpKtlQYP2BZY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=hcMyPtDSE6lpvEqQFOHnvvrkDyXEdw5+gONA0mXajL0dbYkf0q8gkh7qrokEKtmir7 YWajy+QQ67LSgwt87UDJRgvBRkP6aomMRLKT7H4Ix+A7XrWZx8lkvlwssOn7GKomERRR wB2b7iPds9zQLYACIhpfQXmWall1oAid4+4PI= Received: by 10.142.135.13 with SMTP id i13mr5856729wfd.8.1230591054086; Mon, 29 Dec 2008 14:50:54 -0800 (PST) Received: by 10.143.90.1 with HTTP; Mon, 29 Dec 2008 14:50:54 -0800 (PST) Message-ID: <553da56d0812291450y5031d964ib9ed5c68c4bcd0be@mail.gmail.com> Date: Mon, 29 Dec 2008 23:50:54 +0100 From: "Bob Ionescu" To: users@httpd.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Re: help with rewrites - changing the base path 2008/12/29 Matthew Sacks : > I cleared all rewrites so all I have is the following: > RewriteRule ^/techblog(.*)$ http://www.foo.com/$1 [R=301] If you're using this in per-dir context (e.g. in .htaccess files) reachable via http://www.example.com/.htaccess, strip the leading slash of the pattern: ^techblog(.*)$ and don't forget to enable the engine via RewriteEngine on. Bob --------------------------------------------------------------------- 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