I\'d like all queries like
http://mysite.com/something/otherthing?foo=bar&x=y
to be rewritten as
http://mysite.com/some
I would do it this way. Basically, if file doesn't exist, try adding .php to it.
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ $1.php [QSA,L]