Hi, Is there a easy way to enable basic user authentication to the ccrb server? Thanks very much, Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20090213/cfeb447a/attachment-0001.html>
Put it behind a proxy using apache or nginx. Search the archive of the ccrb user and/or dev lists, this has been discussed before. -- Chad On Fri, Feb 13, 2009 at 1:19 PM, tim walker <twalker at comverge.com> wrote:> Hi, > > Is there a easy way to enable basic user authentication to the ccrb server? > > Thanks very much, > > Tim > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > >
Here''s an example apache config from my setup. Note you need some more setup than this, but hopefully it gets you rolling. Good luck <VirtualHost *:80> ServerName build.foo.com <LocationMatch "/"> AuthType Basic AuthName "Build" AuthUserFile /var/www/build/build.htpasswd Require valid-user </LocationMatch> <Proxy balancer://cruisecontrol> BalancerMember http://localhost:3333 </Proxy> ProxyPass / balancer://cruisecontrol/ </VirtualHost> On Feb 13, 2009, at 1:14 PM, Chad Woolley wrote:> Put it behind a proxy using apache or nginx. Search the archive of > the ccrb user and/or dev lists, this has been discussed before. > > -- Chad > > On Fri, Feb 13, 2009 at 1:19 PM, tim walker <twalker at comverge.com> > wrote: >> Hi, >> >> Is there a easy way to enable basic user authentication to the ccrb >> server? >> >> Thanks very much, >> >> Tim >> _______________________________________________ >> Cruisecontrolrb-users mailing list >> Cruisecontrolrb-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users >> >> > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
Dmitry Verkhovsky
2009-Feb-13 21:53 UTC
[Cruisecontrolrb-users] Basic auth on cc-rb server?
Hi, I''m using htpasswd plugin ( http://github.com/maiha/htpasswd/tree/master ). Just do script/install plugin, and add one line to application.rb . htpasswd :user=>"maiha", :pass=>"berryz" D. On Fri, Feb 13, 2009 at 10:19 PM, tim walker <twalker at comverge.com> wrote:> Hi, > > Is there a easy way to enable basic user authentication to the ccrb server? > > > Thanks very much, > > Tim > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20090213/a9a6c003/attachment.html>
That was awesome and exactly what I needed. I had scanned the archives and saw more invasive solutions and was about to hack the rails application directly but, well, no need! FWIW - this is the command I needed to install the plugin: ruby script/plugin install http://wota.jp/svn/rails/plugins/branches/stable/htpasswd Best regards, Tim On 2/13/09 2:53 PM, "Dmitry Verkhovsky" <talrep at gmail.com> wrote:> Hi, > > I''m using htpasswd plugin ( http://github.com/maiha/htpasswd/tree/master ). > Just do script/install plugin, and add one line to application.rb . > > > htpasswd :user=>"maiha", :pass=>"berryz" > > > D. > On Fri, Feb 13, 2009 at 10:19 PM, tim walker <twalker at comverge.com> wrote: >> Hi, >> >> Is there a easy way to enable basic user authentication to the ccrb server? >> >> Thanks very much, >> >> Tim >> >> _______________________________________________ >> Cruisecontrolrb-users mailing list >> Cruisecontrolrb-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users >> > > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20090213/85e95ba6/attachment.html>