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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 []).

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux