Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 384 invoked from network); 25 Jan 2006 13:18:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Jan 2006 13:18:01 -0000 Received: (qmail 35459 invoked by uid 500); 25 Jan 2006 13:17:52 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 34510 invoked by uid 500); 25 Jan 2006 13:17:49 -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 34499 invoked by uid 99); 25 Jan 2006 13:17:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2006 05:17:49 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of kailash.vyas@gmail.com designates 66.249.92.199 as permitted sender) Received: from [66.249.92.199] (HELO uproxy.gmail.com) (66.249.92.199) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2006 05:17:48 -0800 Received: by uproxy.gmail.com with SMTP id u2so173100uge for ; Wed, 25 Jan 2006 05:17:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=U5UH35VGvqzWBYZjVqJ4T0cw0hPyI/rWsB7zQ25ghYnsTmcb7+ijKF3jVcHIDyv3lZYGsBVdIj64toHkpDbGCrWjSeGq4+TfiSQnV7fJ2lnFCoOkNW5RrDFrTwjXZyMp8mXowTjZMn75qRHT/+RAo7IuaXJJdlunh4biKMNdwY0= Received: by 10.67.22.16 with SMTP id z16mr314768ugi; Wed, 25 Jan 2006 05:17:25 -0800 (PST) Received: by 10.66.248.15 with HTTP; Wed, 25 Jan 2006 05:17:25 -0800 (PST) Message-ID: Date: Wed, 25 Jan 2006 13:17:25 +0000 From: Kailash Vyas To: users@httpd.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] rewrite rule X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi RewriteRule ^property/(.*)$ http://example.com/index/$1 I have written this rule. This redirects the page to index and is handled by index page. It works for this page But I want all the requests to be handled by index page I wrote this rule for it RewriteRule ^(.*)$ http://example.com/index/$1 but it is firing this error. mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary. Thanks, Kailash On 1/25/06, Boyle Owen wrote: > > -----Original Message----- > > From: Kailash Vyas [mailto:kailash.vyas@gmail.com] > > Sent: Mittwoch, 25. Januar 2006 12:08 > > To: users@httpd.apache.org > > Subject: [users@httpd] rewrite rule > > > > hi all, > > > > I am working on rewrite rule for a website and need some help on it. > > I need all the requests for php pages to be handled by index page. > > > > for example urls > > http://example.com/xyz/1/2/3 > > http://example.com/abc/1/2/3 > > > > should be handled by http://example.com/index.php > > Did you read http://httpd.apache.org/docs/1.3/misc/rewriteguide.html? > > What did you try? What went wrong? what did the log say? > (or are you just looking for someone to write the rule for you... :-\) > > Rgds, > Owen Boyle > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > thanks, > > kailash > > > > --------------------------------------------------------------------- > > 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 > > > > > Diese E-mail ist eine private und pers=F6nliche Kommunikation. Sie hat ke= inen Bezug zur B=F6rsen- bzw. Gesch=E4ftst=E4tigkeit der SWX Gruppe. This e= -mail is of a private and personal nature. It is not related to the exchang= e or business activities of the SWX Group. Le pr=E9sent e-mail est un messa= ge priv=E9 et personnel, sans rapport avec l'activit=E9 boursi=E8re du Grou= pe SWX. > > > This message is for the named person's use only. It may contain confident= ial, proprietary or legally privileged information. No confidentiality or p= rivilege is waived or lost by any mistransmission. If you receive this mess= age in error, please notify the sender urgently and then immediately delete= the message and any copies of it from your system. Please also immediately= destroy any hardcopies of the message. You must not, directly or indirectl= y, use, disclose, distribute, print, or copy any part of this message if yo= u are not the intended recipient. The sender's company reserves the right t= o monitor all e-mail communications through their networks. Any views expre= ssed in this message are those of the individual sender, except where the m= essage states otherwise and the sender is authorised to state them to be th= e views of the sender's company. > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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