Setting up a virtual host on XAMPP on Mac

后端 未结 3 1915
栀梦
栀梦 2021-02-06 15:34

I am trying to set up a virtualhost on my apple mac on localhost. The server is provided by XAMPP, which bundles Apache/MySQL/PHP in one bundle.

Here is what I have done

3条回答
  •  后悔当初
    2021-02-06 15:56

    Have you told Apache to actually use name-based virtual hosting?

    # Use name-based virtual hosting.
    #
    NameVirtualHost *:80
    

    I don't believe it's enabled by default in Xampp on Mac.

提交回复
热议问题