Re: Apache: Request exceeded the limit of 10 internal redirects
| From: | Marek Kilimajer | 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:
Dot has no special meaning in a character class (that's inside []).RewriteRule ^(.*)$ /$1.phpYou 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"