0

I have my wampServer running on my laptop. I can access localhost without problem. But everytime I access a folder "myProject" for example in the localhost, I get this path myProject and it doesn't work. I must add every time the word localhost/ before the path so that it works.

Does anyone please know how can I change settings in wampserver so that it can access all projects by adding /localhostby default.

I don't know if I've well descriped the issue, but I'm ready to provide any screen shots needed.

Thank you in advance.

1 Answers1

1
  1. Go to your www folder open index.php at line 30
  2. Change: $suppress_localhost into false. It should look like this:

    $suppress_localhost = false;
    
Neil
  • 14,063
  • 3
  • 30
  • 51
xcution
  • 91
  • 5