作者Achillean (山猪元年革命志士)
看板PHP
标题Re: [请益] 403错误...
时间Tue Feb 8 22:16:47 2011
os:win7 32bit
三合一:WampServer2.1e-x32
症状:
127.0.0.1 or localhost都可以开启index.php
127.0.0.1 - - [08/Feb/2011:22:00:01 +0800] "GET / HTTP/1.1" 200 4166
127.0.0.1 - - [08/Feb/2011:22:00:01 +0800] "GET /index.php?img=gifLogo
HTTP/1.1" 200 4549
127.0.0.1 - - [08/Feb/2011:22:00:01 +0800] "GET /index.php?img=pngWrench
HTTP/1.1" 200 741
127.0.0.1 - - [08/Feb/2011:22:00:01 +0800] "GET /index.php?img=pngPlugin
HTTP/1.1" 200 548
127.0.0.1 - - [08/Feb/2011:22:00:01 +0800] "GET /index.php?img=pngFolderGo
HTTP/1.1" 200 694
192.168.0.198 - - [08/Feb/2011:22:00:04 +0800] "GET / HTTP/1.1" 403 202
192.168.0.198 - - [08/Feb/2011:22:00:05 +0800] "GET /favicon.ico HTTP/1.1"
403 213
111.185.49.63 - - [08/Feb/2011:22:04:43 +0800] "GET / HTTP/1.1" 403 202
111.185.49.63 - - [08/Feb/2011:22:04:43 +0800] "GET /favicon.ico HTTP/1.1"
403 213
但是使用192.168.0.x区域网路或是外部ip拜访
都会被打回票
[Tue Feb 08 22:04:43 2011] [error] [client 111.185.49.63] client denied by
server configuration: C:/wamp/www/
[Tue Feb 08 22:04:43 2011] [error] [client 111.185.49.63] client denied by
server configuration: C:/wamp/www/favicon.ico
网路上找过解法
是修改deny -> allow
http://blog.yam.com/cbolong/article/19959966
但大部人是localhost都403
我是只有非localhost才会403
请问该如何解?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 111.185.49.63