apache不能正常启动的解决方法

时间:2014-12-05 12:30:02   收藏:0   阅读:144

报错:DocumentRoot must be a directory

查看Application log中的报错信息,定位到httpd conf文件。

 

DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/mytest"
<Directory "/Applications/XAMPP/xamppfiles/htdocs/mytest">

里面发现之前修改之后,用了中文字符的引号。

代码用NetBeans查看,报错能看得更清楚。

 

 

报错:access forbidden apache

把配置文件备份拿出来,修改名字覆盖新的文件就能可以了。

 

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!