WHAT'S NEW?
Loading...

[SOLVED] [WAMP] Wrong projects links, missing localhost in urls

Wamp allows you to create web applications with Apache, PHP, and the MySQL database. After i have installed Wamp with success [download here].



I have put Wamp online to use it on my intranet but when i go to http://localhost/ or http://127.0.0.1/ and click on a project name from the main Wamp panel page, the link just points to "projectname" and not "http://localhost/projectname"

To solve this problem, you need to change a variable in configuration file.

Open wamp/www/index.php 

change this line:

 $suppress_localhost = true;

 To :

 $suppress_localhost = false;

1 comment: Leave Your Comments

  1. //On récupére la valeur de urlAddLocalhost
    $suppress_localhost = ($wampConf['urlAddLocalhost'] == 'off' ? true : false);

    ReplyDelete