免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: dbdxjq
打印 上一主题 下一主题

[服务应用] 急!!!apache 403 error 请指点! [复制链接]

论坛徽章:
0
11 [报告]
发表于 2012-07-18 14:43 |只看该作者
[Wed May 09 02:26:28 2012] [error] [client 192.168.75.129] Directory index forbidden by Options directive: /srv/www/htdocs/
[Wed May 09 02:26:28 2012] [error] [client 192.168.75.129] File does not exist: /srv/www/htdocs/favicon.ico
[Wed May 09 02:26:31 2012] [error] [client 192.168.75.129] File does not exist: /srv/www/htdocs/favicon.ico
[Wed May 09 02:26:57 2012] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Wed May 09 02:26:57 2012] [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/favicon.ico
[Wed May 09 02:27:00 2012] [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/favicon.ico
[Wed May 09 02:27:15 2012] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Wed May 09 02:27:20 2012] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /srv/www/htdocs/
回复 10# chenyx


   

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
12 [报告]
发表于 2012-07-18 14:45 |只看该作者
这个,你的web目录下没有默认网页,一般是index.html之类的.你自己写一个就好了.
或者修改你的apache的配置文件,将你需要的默认页面填写进去.

论坛徽章:
0
13 [报告]
发表于 2012-07-18 14:48 |只看该作者
drwxr-xr-x 2 root root 4096 Apr 16 09:44 cgi-bin
drwxr-xr-x 3 root root 4096 Jul 17 22:59 htdocs
回复 10# chenyx


   

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
14 [报告]
发表于 2012-07-18 14:49 |只看该作者
你的网页应该放到/srv/www/htdocs目录下

论坛徽章:
0
15 [报告]
发表于 2012-07-18 15:08 |只看该作者
[Tue Jul 17 22:49:34 2012] [error] [client 192.168.75.129] Directory index forbidden by Options directive: /srv/www/htdocs/
[Tue Jul 17 22:49:37 2012] [error] [client 192.168.75.129] File does not exist: /srv/www/htdocs/favicon.ico
[Tue Jul 17 22:49:45 2012] [error] [client 192.168.75.129] Directory index forbidden by Options directive: /srv/www/htdocs/, referer: http://192.168.75.129/
[Tue Jul 17 22:49:49 2012] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Tue Jul 17 22:49:52 2012] [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/favicon.ico
[Tue Jul 17 22:50:31 2012] [error] [client 192.168.75.1] Invalid method in request \x03quit
[Tue Jul 17 22:58:24 2012] [error] [client 192.168.75.129] Directory index forbidden by Options directive: /srv/www/htdocs/
[Tue Jul 17 22:58:26 2012] [error] [client 192.168.75.129] Directory index forbidden by Options directive: /srv/www/htdocs/, referer: http://192.168.75.129/
[Tue Jul 17 22:58:30 2012] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Tue Jul 17 22:58:35 2012] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Wed Jul 18 00:56:39 2012] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Wed Jul 18 01:04:17 2012] [error] [client 127.0.0.1] Invalid method in request \xff\xf4\xff\xfd\x06
[Wed Jul 18 01:05:25 2012] [notice] caught SIGTERM, shutting down
[Wed Jul 18 01:05:26 2012] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Jul 18 01:05:26 2012] [notice] Apache/2.2.10 (Linux/SUSE) mod_ssl/2.2.10 OpenSSL/0.9.8h configured -- resuming normal operations
[Wed Jul 18 01:05:39 2012] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Wed Jul 18 01:05:42 2012] [error] [client 192.168.75.129] Directory index forbidden by Options directive: /srv/www/htdocs/
[Wed Jul 18 01:06:28 2012] [notice] caught SIGTERM, shutting down
[Wed Jul 18 01:06:29 2012] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Jul 18 01:06:29 2012] [notice] Apache/2.2.10 (Linux/SUSE) mod_ssl/2.2.10 OpenSSL/0.9.8h configured -- resuming normal operations
[Wed Jul 18 01:12:20 2012] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Wed Jul 18 01:12:23 2012] [error] [client ::1] File does not exist: /srv/www/htdocs/favicon.ico
[Wed Jul 18 01:12:26 2012] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Wed Jul 18 01:12:31 2012] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/htdocs/, referer: http://localhost/
[Wed Jul 18 02:52:34 2012] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Wed Jul 18 02:56:35 2012] [notice] caught SIGTERM, shutting down
[Wed Jul 18 02:56:36 2012] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Jul 18 02:56:36 2012] [notice] Apache/2.2.10 (Linux/SUSE) mod_ssl/2.2.10 OpenSSL/0.9.8h configured -- resuming normal operations
回复 14# chenyx


   

论坛徽章:
0
16 [报告]
发表于 2012-07-18 15:09 |只看该作者
从本地可以访问 外部好像还是不行回复 14# chenyx


   

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
17 [报告]
发表于 2012-07-18 15:10 |只看该作者
  1. echo "Welcome!!" > /srv/www/htdocs/index.html
复制代码
测试吧

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
18 [报告]
发表于 2012-07-18 15:10 |只看该作者
本地好使?,没看出来,localhost不也是报错了麻

论坛徽章:
0
19 [报告]
发表于 2012-07-18 15:13 |只看该作者
刚刚试过 本地好使了。 关键是那个报错Directory index forbidden by Options directive: /srv/www/htdocs/ 什么意思回复 18# chenyx


   

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
20 [报告]
发表于 2012-07-18 15:15 |只看该作者
就是你的web目录下没有默认页面的文件,设置里面禁止列出文件列表.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP