Re: Apache: Request exceeded the limit of 10 internal redirects

From: Date: Wed, 26 Jan 2005 21:12:17 +0000
Subject: Re: Apache: Request exceeded the limit of 10 internal redirects
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-207425@lists.php.net to get a copy of this message
Richard Lynch wrote:
RewriteRule ^(.*)$ /$1.php
You probably wanted more like: RewriteRule ([^\.]) /$1.php That probably ain't right, but your goal is to get only filenames with NO '.' in them, and you need \ to esacpe the . so it doesn't mean "any character"
Dot has no special meaning in a character class (that's inside []).

« previous php.general (#207425) next »