WAMP - Remove localhost from project URL

前端 未结 16 1707
暖寄归人
暖寄归人 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条回答
  •  忘掉有多难
    2020-12-02 11:30

    I think that the easiest and quickest way is to:

    Open index.php in your www folder >>> change: $suppress_localhost to be false / no.

提交回复
热议问题