Basic auth on cc-rb server?

View: New views
5 Messages — Rating Filter:   Alert me  

Basic auth on cc-rb server?

by Tim Walker-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Basic auth on cc-rb server? 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@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Re: Basic auth on cc-rb server?

by Chad Woolley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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@...
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
>
_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Re: Basic auth on cc-rb server?

by Alex Soto :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>  
> 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@...
>> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>>
>>
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users@...
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

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

Re: Basic auth on cc-rb server?

by Dmitry Verkhovsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users



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

Re: Basic auth on cc-rb server?

by Tim Walker-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Re: [Cruisecontrolrb-users] Basic auth on cc-rb server? 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@...> 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@...> 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@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users




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

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