I have running in some weird error in wamp server. I cannot access my local site using localhost url like localhost/mysite but virtual host can work.
After do checking on Virtual host examined by apache using the Wamp server tools, i found out that the default server is not localhost.
To fix this, i add the folowing code on httpd-vhosts.conf on top of other existing virtual host:
Options +Indexes +FollowSymLinks +MultiViews
After that, restart wamp and then the localhost finally working again.