Please check the following links, they have information on how to remove the index.php from your URL.
http://www.ez.no/ez_publish/documentation/configuration/security/non_virtualhost http://www.ez.no/ez_publish/documentation/installation/virtual_host_setup