Ubuntu中apache2修改网站
然后再仔细的看apache2.conf
终于发现有这么一句:
Include /etc/apache2/sites-enabled/
然后打开这个目录,看到一个 000-default
打开一看,全明白了。
改吧:
DocumentRoot /media/sda3/wwwroot
重启Apache2服务即可。
sudo /etc/init.d/apache2 restart
本文固定链接: http://20tc.com/ubuntu-apacehe2-wwwroot.html | TC的博客
路过,希望博客也回访
2012-08-29 下午 7:45已经回访。
2012-08-30 上午 9:43博主写作水平不错!
2012-08-29 上午 1:07😀
2012-08-25 下午 6:20