debian8 Apache 更改根目录时间:2023-03-10 04:33:56 进入配置文件,路径为:/etc/apache2/sites-available/000-default.conf 然后找到DocumentRoot /var/www/html ,将其更改为 DocumentRoot /var/www