Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 64524 invoked from network); 26 May 2004 13:12:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 26 May 2004 13:12:27 -0000 Received: (qmail 4380 invoked by uid 500); 26 May 2004 13:11:33 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 4327 invoked by uid 500); 26 May 2004 13:11:32 -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 4150 invoked by uid 98); 26 May 2004 13:11:30 -0000 Received: from robert@profundis.nu by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(213.80.46.101):. Processed in 0.144219 secs); 26 May 2004 13:11:30 -0000 X-Qmail-Scanner-Mail-From: robert@profundis.nu via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(213.80.46.101):. Processed in 0.144219 secs) Received: from unknown (HELO mail03.profundis.se) (213.80.46.101) by hermes.apache.org with SMTP; 26 May 2004 13:11:29 -0000 Received: from profundis-01.profundis.se ([213.80.46.103] helo=PROFUNDIS01) by mail03.profundis.se with smtp (Exim 4.32) id HYBOMV-000QLC-AF for users@httpd.apache.org; Wed, 26 May 2004 15:11:19 +0200 Message-ID: <03f001c44322$ef2b2df0$652e50d5@profundis.se> Reply-To: "Robert Andersson" From: "Robert Andersson" To: References: <20040526134454.GA95b2d.johan@svedberg.pp.se> <20040526135404.00003e17@fe-pc-092> <20040526140321.GA951a7.johan@svedberg.pp.se> Date: Wed, 26 May 2004 15:11:17 +0200 Organization: Profundis MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Help with mod_rewrite X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Johan Svedberg wrote: > > RewriteEngine On > > RewriteRule ^/weblog/archives/index.php$ - [L] > > RewriteRule ^/weblog/archives/?([^0-9]+)/ yourreplacement > > That does indeed work. Everything works well now, except for one thing. > When I try to access /weblog/archives/ the second rule kicks in. You might want to try: RewriteRule ^/weblog/archives/(index.php)?$ - [L] Regards, Robert Andersson --------------------------------------------------------------------- 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