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