Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 956 invoked from network); 4 Dec 2004 21:17:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Dec 2004 21:17:59 -0000 Received: (qmail 60277 invoked by uid 500); 4 Dec 2004 21:17:43 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 60264 invoked by uid 500); 4 Dec 2004 21:17:42 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 60251 invoked by uid 99); 4 Dec 2004 21:17:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of acidbreeze@gmail.com designates 64.233.184.192 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.192) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 04 Dec 2004 13:17:41 -0800 Received: by wproxy.gmail.com with SMTP id 55so52721wri for ; Sat, 04 Dec 2004 13:17:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=iv1NGk7suKH2tRLiwrC+0Dg/jWOhE4nMwxeRPmc94BdrfroRahgNn0ygcOPU5DxWI1x0zXuPQBgEDDl8e9nTCtVfeFrpTyl/qT7auz+zF5dZG5l0vsfMUCE0qrwHQ3dYeTzJVYu0LpH0OeiLCOYKVwTvZKreI5TnkYPaxtXYvh4= Received: by 10.54.8.47 with SMTP id 47mr487556wrh; Sat, 04 Dec 2004 13:17:38 -0800 (PST) Received: by 10.54.46.36 with HTTP; Sat, 4 Dec 2004 13:17:38 -0800 (PST) Message-ID: <253edf0904120413172e662ffc@mail.gmail.com> Date: Sat, 4 Dec 2004 15:17:38 -0600 From: Benny Sun Reply-To: Benny Sun To: users@httpd.apache.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked Subject: [users@httpd] Has RewriteRule changed in functionality? X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I am having issues with mod_rewrite's RewriteRule on both Apache 1.3.33 and 2.0.52. According to an example at (http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html#rewritecond), I am supposed to be able to use: =================== RewriteCond %{HTTP_USER_AGENT} ^Mozilla.* RewriteRule ^/$ /homepage.max.html [L] =================== Instead, I have to use: =================== RewriteCond %{HTTP_USER_AGENT} ^Mozilla.* RewriteRule ^$ /homepage.max.html [L] =================== ...without the forward slash. Placing the first in my .htaccess file gives a HTTP 500, and my error log complains of too many redirects. I noticed this with all my other rules. Is this supposed to be? --------------------------------------------------------------------- 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