Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 13313 invoked by uid 500); 5 Jul 2002 06:46:59 -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 13294 invoked from network); 5 Jul 2002 06:46:58 -0000 Received: from unknown (HELO mail.profundis.se) (213.80.46.101) by daedalus.apache.org with SMTP; 5 Jul 2002 06:46:58 -0000 X-ITHouse-Forward-Path: Received: From PROFUNDIS01 by mail.profundis.se (IT House Mail Server [TRIAL - -96 days left]); Fri, 5 Jul 2002 08:46:57 +0200 Message-ID: <013e01c223ef$c14ba030$662e50d5@profundis.se> Reply-To: "Robert Andersson" From: "Robert Andersson" To: References: <20020703110949.96715.qmail@web12203.mail.yahoo.com> Subject: Re: Mod_rewrite problem. Date: Fri, 5 Jul 2002 08:46:56 +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.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ross wrote: > --- victor@outblaze.com wrote: > > and.. don't know if this help, but how about breaking the rule into a > > cond and a rule I mean.. > > > > RewriteCond .* !\.(gif|css|jpg|png|jar)$ > > RewriteRule .* /mypath/index.php I haven't used regex much in Apache, but doesn't the negator only effect the dot (\.) here?. Wouldn't it be better to have something like: RewriteCond.* !(\.gif|\.css|\.jpg|\.png|\.jar)$ ...or... RewriteCond.* !(\.(gif|css|jpg|png|jar))$ Just a thought Regards, Robert Andersson --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org