When I write in .htaccess
this mod_rewrite
RewriteEngine on
RewriteRule ^(.*)\.my_extension$ $1.php
and open url: site.com/index.my_extension
this wroks fine, opened index.php
But when I am trying mod_rewrite like this:
RewriteEngine on
RewriteRule ^(.*)$ index.php?url=$1
this gives me Internal Server Error
.
Why this happened? what is reason?