我只是不知道还能在哪里查看以及还能做什么。设置 varnish 3.0 后,我的所有 vhost 上都不断出现 403 错误
Apacher 日志:
[错误] [客户端 127.0.0.1] 服务器配置拒绝客户端:/etc/apache2/htdocs
标头:
http://domain.com/
GET / HTTP/1.1
Host: domain.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive
Cookie: __utma=106762181.277908140.1348005089.1354040972.1354058508.6; __utmz=106762181.1348005089.1.1.utmcsr=OTHERDOMAIN.com|utmccn=(referral)|utmcmd=referral|utmcct=/galerias/cocinas
Cache-Control: max-age=0
HTTP/1.1 403 Forbidden
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Type: text/html; charset=iso-8859-1
X-Cacheable: YES
Content-Length: 223
Accept-Ranges: bytes
Date: Sat, 01 Dec 2012 20:35:14 GMT
X-Varnish: 1030961813 1030961811
Age: 26
Via: 1.1 varnish
Connection: keep-alive
X-Cache: HIT
----------------------------------------------------------
/etc/default/varnish
:
DAEMON_OPTS="-a ip.ip.ip.ip:80 \
-T localhost:6082 \
-f /etc/varnish/main.domain.vcl \
-S /etc/varnish/secret \
-s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G"
#-s malloc,256m"
我的vcl文件:http://pastebin.com/axJ57kD8
那么,您知道我可能遗漏了什么吗?
更新
您需要了解的是,端口:
NameVirtualHost *:8000
Listen 8000
和<VirtualHost 205.13.12.12:8000>