|
|
My Intranet is behind a proxy server. How do I use Syndicated Content behind a proxy server? |
| Version: 6.5+, but perhaps others might benefit: There is a line (6.5.5's line number is 205) in WebGUI/lib/WebGUI/Asset/Wobject/SyndicatedContent.pm that looks like: my $ua = LWP::UserAgent->new(timeout => 5);Immediately after that, you can put a line like this: $ua->proxy(['http', 'ftp'], 'http://proxy:port');or $ua->env_proxy;You may consider this in HttpProxy.pm. HOWEVER, HttpProxy.pm does kindly include $useragent->env_proxy;which means that it will observe environment variables that end with _proxy: http_proxy="http://proxy:port" ftp_proxy="ftp://proxy:port" no_proxy="localhost,my.domain"More info: http://search.cpan.org/~gaas/libwww-perl-5.803/lib/LWP/UserAgent.pm#Proxy_attributes Of course, changes to .pm might mean that you should stop and restart apache. wg-fomATgwyDOTorg | |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||