Your URLs are changed because your PHP is probadly runnig in CGI mode.
More info you can find here http://ez.no/ez_publish/documentation/configuration/configuration/ez_publish_running_on_a_cgi_version_of_php
You can mix with URL using rewrite rules. http://ez.no/ez_publish/documentation/configuration/security/non_virtualhost