« Return to Thread: Setting up CCRB behind apache proxy

Re: Setting up CCRB behind apache proxy

by Alexander Kabanov :: Rate this Message:

Reply to Author | View in Thread

the following apache configuration works for me (apache 2.2 on ubuntu
feisty) (if this is what you are looking for)

<VirtualHost *>
  ServerAdmin admin@...
  ServerName cc.exmaple.com
 
  <Location />
    AuthType Basic
    AuthName "Cruisecontrol"
    AuthUserFile /path/to/htpasswd
    Require valid-user
  </Location>
   
  ProxyPass / http://1.1.1.1:3333/
  ProxyPassReverse / http://1.1.1.1:3333/
  ProxyPreserveHost on
</VirtualHost>

where 1.1.1.1 your host running CC, im my case is 127.0.0.1 but can be
anything.

best,

--Alex


On Fri, 2007-11-30 at 13:53 -0800, cchiodo wrote:
> Has anyone had any success setting up CCRB behind a proxy, using apache?
> I've tried it 6 ways from tuesday, and it always seems to have some problems
> a) rewriting some of the urls for things like css files and b) with one or
> two of the redirects.
>
> thanks in advance!

_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

 « Return to Thread: Setting up CCRB behind apache proxy