- 通过命令
修改。然后vim /etc/apache2/ports.conf
。servcie apache2 restart
- 通过命令
来修改默认路径。vim /etc/apache2/sites-enabled/000-default.conf
vim /etc/apache2/ports.conf
修改。然后 servcie apache2 restart
。 vim /etc/apache2/sites-enabled/000-default.conf
来修改默认路径。