WAMP - Remove localhost from project URL

前端 未结 16 1704
暖寄归人
暖寄归人 2020-12-02 11:01

The URLs of my projects in WAMP are not resolving as I\'d expect. For example, I\'d expect the project in the folder c:\\wamp\\www\\project1 to have the URL http://project1/

16条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-02 11:26

    Open index.php in www folder and set

    $suppress_localhost = True;===>$suppress_localhost = false;

    that is work.

提交回复
热议问题