documentroot must be a directory

sunmatter 2014-02-19 09:25:49
启动apache的时候提示documentroot must be a directory。网上查了很多都是linux的解决办法。
windows的怎么解决?
...全文
1171 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
sinat_28948397 2015-12-09
  • 打赏
  • 举报
回复
不要两级目录,设置成一级目录。
sunmatter 2014-02-19
  • 打赏
  • 举报
回复
引用 1 楼 ljc007 的回复:
把你的httpd.conf贴出来看看
# DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "F:/webpage/testone" <Directory "F:/webpage/testone">
sunmatter 2014-02-19
  • 打赏
  • 举报
回复
# DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "F:/webpage/testone" <Directory "F:/webpage/testone">
ljc007 2014-02-19
  • 打赏
  • 举报
回复
把你的httpd.conf贴出来看看

6,184

社区成员

发帖
与我相关
我的任务
社区描述
windows网络管理与配置
社区管理员
  • 网络管理与配置社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧