Site does not exist error for a2ensite

后端 未结 10 1785
心在旅途
心在旅途 2020-12-12 10:04

I have cmsplus.dev under /etc/apache2/sites-available with the following code,


    ServerAdmin master@serv         


        
10条回答
  •  猫巷女王i
    2020-12-12 10:33

    There's another good way, just edit the file apache2.conf theres a line at the end

    IncludeOptional sites-enabled/*.conf

    just remove the .conf at the end, like this

    IncludeOptional sites-enabled/*

    and restart the server.

    (I tried this only in the Ubuntu 13.10, when I updated it.)

提交回复
热议问题