What environment variable should I set? For Subversion or for Apache?

I tried this

os.environ['http-proxy-host'] = "111.192.151.125"
os.environ['http-proxy-port'] = "8080"
os.environ['http-proxy-username'] = "username"
os.environ['http-proxy-password'] = "password"

it didn't work.

On Wednesday, July 8, 2015 at 12:42:31 PM UTC+8, Christian Hammond wrote:
>
> Hi, 
>
> Depending on your setup, you'll either need a SetEnv in your Apache config 
> file, or you'll need to set the environment in your reviewboard.wsgi file 
> (in $sitedir/htdocs/). You'll then need to restart the web server. 
>
> See if that solves the problem. If not, we can look deeper into the setup. 
>
> Christian 
>
> --   
> Christian Hammond - chri...@beanbaginc.com <javascript:>   
> Review Board - https://www.reviewboard.org   
> Beanbag, Inc. - https://www.beanbaginc.com 
>
> -----Original Message----- 
> From: Qi Luo <qil...@gmail.com <javascript:>> 
> Reply: revie...@googlegroups.com <javascript:> <revie...@googlegroups.com 
> <javascript:>>> 
> Date: July 7, 2015 at 9:31:17 PM 
> To: revie...@googlegroups.com <javascript:> <revie...@googlegroups.com 
> <javascript:>>> 
> Subject:  How to set proxy for SVN repo 
>
> > I'm on RB 2.0.15, Ubuntu 14.04 
> >   
> > I'm trying to add a SVN repo, unfortunately I need to set up a http 
> proxy 
> > for accessing that svn repo. I've found nowhere to configure the proxy 
> for 
> > review board. 
> > I've tried to add a global http proxy at /etc/environment, and also 
> added 
> > proxy at /etc/subversion/servers, both not worked. 
> >   
> > Any idea? Thanks! 
> >   
> > -- 
> > Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/   
> > Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/ 
> > Happy user? Let us know! https://www.reviewboard.org/users/ 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups "reviewboard"   
> > group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to reviewboard...@googlegroups.com <javascript:>.   
> > For more options, visit https://groups.google.com/d/optout. 
> >   
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to