Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 59413 invoked from network); 11 May 2009 22:48:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 May 2009 22:48:20 -0000 Received: (qmail 61863 invoked by uid 500); 11 May 2009 22:48:16 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 61829 invoked by uid 500); 11 May 2009 22:48:16 -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 61820 invoked by uid 99); 11 May 2009 22:48:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 May 2009 22:48:16 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.17.81.207] (HELO smtp.well.com) (208.17.81.207) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 May 2009 22:48:05 +0000 X-WELL-Auth: Yes Received: from [192.168.123.126] (adsl-63-193-114-138.dsl.snfc21.pacbell.net [63.193.114.138]) by smtp.well.com (8.14.3/8.14.3) with ESMTP id n4BMlfjr007670 for ; Mon, 11 May 2009 15:47:42 -0700 Message-ID: <4A08AB0E.4040604@spammotel.com> Date: Mon, 11 May 2009 15:47:42 -0700 From: kp_stv User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) 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 Subject: [users@httpd] Re: conf file: changing domains I tried Matus suggestion: Redirect permanent / http://www.b-of-a.com/ but it does not work, unless it matches exactly. In other words, http://www.olddomain.com/ is replaced by http://www.newdomain.com/ as desired, but http://www.olddomain.com/about.html (or anything else after the domain name) stays as the same. This seems unlike the documentation says it should behave. I have 2.0.55 (Win32) Apache, I hope that doesn't matter. On 11.05.09 01:54, Matus UHLAR - fantomas wrote: >> On 09.05.09 09:33, Igor Cicimov wrote: >> Ups, this directive (and just that one): >> >> Redirect permanent .* http://www.b-of-a.com > >shouldn't it better be: > >Redirect permanent / http://www.b-of-a.com/ > >? The former causes "forgetting" the path. > >> should be used in the VirtualHost section for the old domain. > >yes, this needs separate vhost. --------------------------------------------------------------------- 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