Displaying 5 results from an estimated 5 matches for "simple_http_auth".
2008 Apr 10
2
Testing an action behind HTTP Authentication
Greetings,
I''m writing an integration test and would like to make sure that, with
the correct credentials, I get the proper response. The problem is I
don''t know how to use the ''get'' method to attach the username and
password to the request.
For example, when using RSpec''s Story tests..
When("I request the user information for that
2007 Mar 13
1
Fwd: Re: Basic authentication with Apache and Mongrel
...#39;s
> still Apache in front of the proxy (as the proxy) doing the auth. I''m doing
> it. That is if you''re not involved with a complicated multi-server setup.
>
> Also, if you''re using Rails, you can do basic auth with the
> "simple_http_auth" plugin. FYI. I''ve used it. It''s cool. And easier,
> IMHO, than setting up users on the server side with htpasswd, etc. but be
> careful if you''ve got an open SVN repository.
>
> matte
>
> Niall O Broin wrote:
&am...
2006 Jul 27
1
Password Protection
I want a really quick and easy way to password protect a directory in my
rails app.
Does anyone have any really quick/easy ideas or maybe a tutorial that I
could use as example?
Thanks!
Mason Kessinger.
--
Posted via http://www.ruby-forum.com/.
2007 Mar 12
1
Basic authentication with Apache and Mongrel
I recently moved an app. from lighttpd + fastcgi to apache 2.2 +
mod_proxy_balancer + Mongrel. On lighttpd, I was using basic
authentication with a configuration like this:
auth.backend = "htpasswd"
auth.backend.htpasswd.userfile = "/path/to/htpasswd"
auth.require = ("/" => ("method" => "basic", "realm" => "My
2007 Mar 06
59
Memory leaks in my site
Hi all,
My environment is ruby-1.8.4, rails 1.2.2, mongrel 1.0.1, linux 2.6. Now, i
have a problem on memory leaks with mongrel. My site is running 5 mongrel
processes on a 2G RAM machine, the memory of each process grows from about
20M to about 250M, but it never recover to the initial 20M, so i had to
restart the mongrel processes once per day. The load is about 1M hits per
day.
Waiting for