apache配置问题

大宇_ 2007-07-04 09:23:35
我用的是winxp系统,已经配置httpd.conf
apache服务已经能启动,但输入路径出现的不是页面
而是

您可能没有权限用您提供的凭据查看此目录或网页。
HTTP 错误 403 - 禁止访问

刚刚学用apache。不知道那个地方配置不对
...全文
356 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
gobitan 2007-07-06
  • 打赏
  • 举报
回复
http://127.0.0.1/index.htm 你要么把index.htm去掉直接输入http://127.0.0.1,要么在后面加一个l试一下,即http://127.0.0.1/index.html
foolbirdflyfirst 2007-07-06
  • 打赏
  • 举报
回复
<Directory "E:/WORK/">
Order allow,deny
Allow from all
</Directory>
tobaccopipe 2007-07-06
  • 打赏
  • 举报
回复
加QQ290840666和你讨论一下
大宇_ 2007-07-06
  • 打赏
  • 举报
回复
楼上的方法都用了都不行
apache的error log错误提示

[Fri Jul 06 14:38:34 2007] [error] [client 127.0.0.1] client denied by server configuration: E:/WORK/index.htm
[Fri Jul 06 14:38:44 2007] [error] [client 127.0.0.1] client denied by server configuration: E:/WORK/
大宇_ 2007-07-05
  • 打赏
  • 举报
回复
根目录没什么问题啊
maple_gu 2007-07-05
  • 打赏
  • 举报
回复
查一下apache的error log,有可能是NTFS权限问题
大宇_ 2007-07-04
  • 打赏
  • 举报
回复
http://127.0.0.1/index.htm
我用的是apache2.2版本
httpd.conf配置

Listen 80
<IfModule dir_module>
DirectoryIndex index.htm
</IfModule>
DocumentRoot "E:/WORK/"
mrshelly 2007-07-04
  • 打赏
  • 举报
回复
你输入的什么路径?
nyu16 2007-07-04
  • 打赏
  • 举报
回复
看看你的网站根目录是否设置正确、、
cumtshine 2007-07-04
  • 打赏
  • 举报
回复
感觉没有问题.

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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