Re: [pca] PCA Proxy Setup

2016-10-06 Thread Timothy Hosfelt
Martin – thanks for the help.  I didn’t have luck with the wgetopt, but it’s 
possibly because there is an @ in my password.  I was able to edit he wgetproxy 
url and put wgetproxy=https://username:password@url and was able to encode the 
@ sign – all is working as expected now.

On 10/6/16, 3:22 AM, "pca on behalf of Martin Paul" 
 wrote:

Hi,

Am 05.10.2016 um 19:01 schrieb Timothy Hosfelt:
> Small issue – my clients are communicating with the proxy cache server, 
but the
> cache server is behind a firewall and I’m unable to successfully make an
> outgoing call through the proxy as the authentication fails.  Running PCA 
from
> the command line with .wgetrc setup with username and password works 
fine, but I
> don’t see where I can set these option in the pca-proxy.conf file.

There are two options:

Put the proxy settings into the global /etc/wgetrc file. Maybe the best 
idea, as they will then be used for every usage of wget, system-wide.

Use PCA's "wgetopt" option in pca-proxy.conf. Something like this might 
work:

   wgetopt="--proxy-user=user --proxy-password=passwd"

Hope that helps,

Martin.







Re: [pca] PCA Proxy Setup

2016-10-06 Thread Martin Paul

Hi,

Am 05.10.2016 um 19:01 schrieb Timothy Hosfelt:

Small issue – my clients are communicating with the proxy cache server, but the
cache server is behind a firewall and I’m unable to successfully make an
outgoing call through the proxy as the authentication fails.  Running PCA from
the command line with .wgetrc setup with username and password works fine, but I
don’t see where I can set these option in the pca-proxy.conf file.


There are two options:

Put the proxy settings into the global /etc/wgetrc file. Maybe the best 
idea, as they will then be used for every usage of wget, system-wide.


Use PCA's "wgetopt" option in pca-proxy.conf. Something like this might 
work:


  wgetopt="--proxy-user=user --proxy-password=passwd"

Hope that helps,

Martin.