rewriting url with mod_rewrite in .htaccess
===

hello i have a problem with my site.

i have a site where urls look like:

    site.com/page.php

i heard that it is possible to rewrite the url like:

    site.com/page

i was looking for that specific rewriterule but i couldnt find anything. all i was found is:

    RewriteRule ^$ page.php [L]
    RewriteRule ^([a-z]+)/?([0-9]*)/?$ page.php?index=$2 [L]

that does not work.

so if there is someone who could help me out i really would appreciate. thanks a lot.