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