2.虚拟目录在 httpd.conf 中
DocumentRoot "路径"
ServerName 名称
3.根设置(默认主目录)在 /etc/apache2/sites-available/default
4.重启命令
sudo /etc/init.d/apache2 restart或者
cd /etc/init.d
sudo apache2 -k restart
stop 停止;start 启动
5.日志文件在 /var/log/apache2/
|
最新资讯
|