Ticket #109 (closed enhancement: wontfix)

Opened 23 months ago

Last modified 19 months ago

strange curl proxy effect with apache

Reported by: gekkoman@… Owned by: somebody
Priority: minor Milestone:
Component: BuildTools Version:
Keywords: Cc:

Description

Print resulted in blank result.

On investigation it was found that curl functions were not working through apache environment.

I have local http_proxy and no_proxy environment set due to local intranet. no_proxy appears to be ignored.

Everything works fine from a shell, but not via browser.

adding curl options in php_util.php

curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_PROXY, " http://<url>:<port>');
curl_setopt($ch, CURLOPT_PROXYUSERPWD, '<user>:<pass>');

makes it work.

A more robust solution should be found.

Change History

Changed 19 months ago by lenk

  • status changed from new to closed
  • resolution set to wontfix

Going to python in future release

Note: See TracTickets for help on using tickets.