Ticket #109 (closed enhancement: wontfix)
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
Note: See
TracTickets for help on using
tickets.
