I am facing problem to access localhost even 127.0.0.1 is not working; from my own computer. But, i have no problem for /phpmyadmin. I am using wamp 2.5 Apache/2.4.9 (Win64)
You've made the simplest of mistakes, Which is okay..
If you don't own Notepad ++
then I suggest you do.
If you have Notepad ++
open those files again and do CTRL + F
then go to the replace tab and put in the Find What put "Require all denied"
and replace with "Require all granted"
.
Also do the same with the phpmyadmin file do the CTRL + F
then go to the replace tab then find what "deny from all"
and replace with "allow from all"
make sure you save both files by clicking the blue save icon toward the top of the program then left click wampserver and restart all services and try again.
As long as you change that you should have access to your entire server.
I don't suggest you mess with vhosts unless you need to. For example PHPMyAdmin you can deny it from any source but local then allow something like SMF or WordPress without having to change other settings.