0

I installed Wamp in my system. Not all is happened as good: When I type localhost in url. I get the WampServer default index page:

WampServer default index page

But then when I click on the Test-Project-Link the URL changes to "http://test/" and showing error message as

This webpage is not available

However when I type http://localhost/test/ directly in URL the page is obtained as I wish.

hakre
  • 193,403
  • 52
  • 435
  • 836
Santhucool
  • 1,656
  • 2
  • 36
  • 92

1 Answers1

1

Just open your www folder, open index.php, and line 30 :

Change :

$suppress_localhost = true;

To :

$suppress_localhost = false;

For more informations about this issue, please consult this link.

johnkork
  • 659
  • 5
  • 19
  • My pleasure ;) Please mark the answer as accepted, so i can grab some juicy reputation ! – johnkork Dec 24 '14 at 10:43
  • sure buddy with pleasure!! – Santhucool Dec 24 '14 at 10:45
  • @johnkork: Thanks for picking up the duplicate. *Next* time please consider leaving a comment beneath the question pointing to the duplicate instead of duplicating material. This will help to improve the site (but sure, it will give you less reputation in the numbers sense). I hope it's understandable anyway. – hakre Dec 24 '14 at 10:49