Why has the apache2 www dir been moved to /var/www/html?

前端 未结 3 1947
野的像风
野的像风 2020-12-24 11:11

I just upgraded my server and saw that the default.conf file in sites-available was now pointing to /var/www/html instead of /var/www.

3条回答
  •  鱼传尺愫
    2020-12-24 11:38

    I went with the don't fight the power philosophy and just moved all my files from the /var/www to the /var/www/html folder. It all worked fine including the mySQL services. Also keep in mind web hosting services will probably force you to use the html directory.

提交回复
热议问题