I need that when I write <http://www.mysite.com/username>
the username is sent as a parameter to index.php

example: <http://www.mysite.com/index.php?user=username>

how can I do with htaccess? you have other ideas?