# How to protect partial application with password apache2.2.4+proxy + mogrel cluster?

**URL:** <https://www.ruby-forum.com/t/how-to-protect-partial-application-with-password-apache2-2-4-proxy-mogrel-cluster/119222>\
**Category:** Deployment\
**Created:** [November 5, 2007, 4:58am UTC](https://www.ruby-forum.com/t/how-to-protect-partial-application-with-password-apache2-2-4-proxy-mogrel-cluster/119222 "2007-11-05T04:58:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![La\_Ji](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/6de8d8/32.png) [@La\_Ji](https://www.ruby-forum.com/u/La_Ji)\
**Post date:** [November 5, 2007, 4:58am UTC](https://www.ruby-forum.com/t/how-to-protect-partial-application-with-password-apache2-2-4-proxy-mogrel-cluster/119222/1 "2007-11-05T04:58:22Z")

</div>

I was trying to ask the following question to the thread  
[http://groups.google.com/group/rubyonrails-deployment/browse\_thread/thread/8ddedcfd45146ee0?fwc=1](http://groups.google.com/group/rubyonrails-deployment/browse_thread/thread/8ddedcfd45146ee0?fwc=1)  
but I wasn’t allowed.

so I have to create a new thread.

How do I use user authentication for just part of the app run on the  
mongrel cluster behind apache mod balancer?

For example, I want the “/abc” accessible to the world, and the rest  
is locked up.

Thanks.  
La Ji.

---

<div class="post-metadata">

**Author:** ![La\_Ji](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/6de8d8/32.png) [@La\_Ji](https://www.ruby-forum.com/u/La_Ji)\
**Post date:** [November 5, 2007, 12:47pm UTC](https://www.ruby-forum.com/t/how-to-protect-partial-application-with-password-apache2-2-4-proxy-mogrel-cluster/119222/2 "2007-11-05T12:47:23Z")

</div>

Hi La Ji

Take a look at role\_requirement, a simple-to-use but powerful plugin  
which is used in tandem with acts\_as\_authenticated.

CCH

> **[Rails... Rails... Rails](http://cch4rails.blogspot.com)**
>
> Chee Chong Hwa aka CCH, a Malaysian Chief Software Architect blogs on his experiences with Ruby on Rail running on Win2003 Server+Apache 2.26 environment since 2007. Flirted briefly with Ubuntu 9.04 in 2009. Since January 2017, now using RubyMine...
