WAMP - Remove localhost from project URL

前端 未结 16 1696
暖寄归人
暖寄归人 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:14

    Create a virtualhost like RiggsFolly said.

    And try to uncomment LoadModule rewrite_module modules/mod_rewrite.so in httpd.conf

提交回复
热议问题