Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 28664 invoked from network); 21 Oct 2005 18:13:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Oct 2005 18:13:12 -0000 Received: (qmail 12572 invoked by uid 500); 21 Oct 2005 18:13:02 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 12559 invoked by uid 500); 21 Oct 2005 18:13:01 -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 12548 invoked by uid 99); 21 Oct 2005 18:13:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2005 11:13:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.135.225.68] (HELO quark.eurokom.ie) (192.135.225.68) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2005 11:12:59 -0700 Received: from HOLODECK ([192.168.225.57]) by vms.eurokom.ie (PMDF V6.2-1x9 #40199) with SMTP id <01LUGUY8WD2CDMUI7W@vms.eurokom.ie> for users@httpd.apache.org; Fri, 21 Oct 2005 19:12:36 +0100 (WET-DST) Date: Fri, 21 Oct 2005 19:12:12 +0100 From: Andoni To: users@httpd.apache.org Message-id: <00a601c5d66a$f5bda0d0$39e1a8c0@HOLODECK> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Mailer: Microsoft Outlook Express 6.00.2800.1506 Content-type: multipart/alternative; boundary="Boundary_(ID_U+u4qGkeDAGFnsurCLZVYw)" X-Priority: 3 X-MSMail-priority: Normal X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Should be easy RewriteRule issue: mod_rewrite. X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --Boundary_(ID_U+u4qGkeDAGFnsurCLZVYw) Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7BIT Hi, Can you please help me with this RewriteRule. I am trying to all users of my website to type in: www.mysite.com/area1 and have it re-written to: www.mysite.com/servMainSite?inner=area1 The slight complication is that /img, /css and /menu have to work as of course does /servMainSite. At the moment I am getting an infinite loop with the following: # RewriteRule !^/(servMainSite.*|img.*|css.*|menu.*)/ /servMainSite?inner=$1 [R,L] Hope you can help. Andoni. --Boundary_(ID_U+u4qGkeDAGFnsurCLZVYw) Content-type: text/html; charset=utf-8 Content-transfer-encoding: quoted-printable =EF=BB=BF
Hi,
 
Can you please help me with this RewriteRule. I am = trying to=20 all users of my website to type in:
 
www.mysite.com/area1
 
and have it re-written to:
 
www.mysite.com/= servMainSite?inner=3Darea1
 
The slight complication is that /img, /css and /menu = have to=20 work as of course does /servMainSite. At the moment I am getting an = infinite=20 loop with the following:
 
#  RewriteRule=20 !^/(servMainSite.*|img.*|css.*|menu.*)/ /servMainSite?inner=3D$1=20 [R,L]
 
Hope you can help.
 
Andoni.
--Boundary_(ID_U+u4qGkeDAGFnsurCLZVYw)--