Fiddler没有捕获来自Apache Server的出站请求

时间:2013-02-27 13:33:50

标签: apache request fiddler

我正在使用Fiddler来获取Apache服务器上的所有流量。问题是Fiddler捕获除了使用Zend_HTTP_Client发送的Apache的HTTP请求之外的所有事情。我该怎么办?

1 个答案:

答案 0 :(得分:2)

    $config = array(
    'adapter'       => 'Zend_Http_Client_Adapter_Proxy',
    'proxy_host'    => '127.0.0.1',
    'proxy_port'    => 8888,
    'timeout'       => 60,
    'useragent'     => 'Test',
    'keepalive'     => true,
    'sslusecontext' => true
);

$client = new Zend_Http_Client('http://www.site.com/',  $config);