【发布时间】:2012-08-11 12:46:42
【问题描述】:
我在similar post 中阅读了关于如何更改 ubuntu xampp 中的文档根目录的内容,该文件说要将 documentroot 值和
httpd.conf 值: DocumentRoot "/media/my\ drive/xampp/htdocs"
XAMPP:错误 1!无法启动 Apache! XAMPP:开始诊断... XAMPP:对不起,我不知道出了什么问题。 XAMPP:请联系我们的论坛http://www.apachefriends.org/f/
我检查了 error_log 文件,上面写着
[2012 年 8 月 14 日星期二 00:08:21] [错误] [客户端 127.0.0.1] (13)权限被拒绝:访问 /favicon.ico 被拒绝 [2012 年 8 月 14 日星期二 00:08:47] [通知] 捕获 SIGTERM,正在关闭 /opt/lampp/etc/httpd.conf 第 179 行的语法错误: DocumentRoot 必须是目录 /opt/lampp/etc/httpd.conf 第 179 行的语法错误: DocumentRoot 必须是目录 /opt/lampp/etc/httpd.conf 第 179 行的语法错误: DocumentRoot 必须是目录 /opt/lampp/etc/httpd.conf 第 179 行的语法错误: DocumentRoot 必须是目录
这是一个有效的目录,我在其中安装了我的 Windows 8 操作系统..
【问题讨论】:
标签: apache xampp document-root