# Is it possible to?

**URL:** <https://www.ruby-forum.com/t/is-it-possible-to/118840>\
**Category:** Mongrel\
**Created:** [October 31, 2007, 3:26pm UTC](https://www.ruby-forum.com/t/is-it-possible-to/118840 "2007-10-31T15:26:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Squeak\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@Squeak\_S](https://www.ruby-forum.com/u/Squeak_S)\
**Post date:** [October 31, 2007, 3:26pm UTC](https://www.ruby-forum.com/t/is-it-possible-to/118840/1 "2007-10-31T15:26:54Z")

</div>

Hi,

Can I use mongrel for ? Preprocessing an url ?

What I need todo is :  
1- When a user connect to an Specific url.  
2- Connect to a site an other site with login  
3- And redirect this user to the site on step 2

Any advice will be nice 😉

W.

---

<div class="post-metadata">

**Author:** ![Squeak\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@Squeak\_S](https://www.ruby-forum.com/u/Squeak_S)\
**Post date:** [November 1, 2007, 3:44pm UTC](https://www.ruby-forum.com/t/is-it-possible-to/118840/2 "2007-11-01T15:44:08Z")

</div>

On 10/31/07, Squeak S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi,
> 
> Can I use mongrel for ? Preprocessing an url ?
> 
> What I need todo is :  
> 1- When a user connect to an Specific url.  
> 2- Connect to a site an other site with login  
> 3- And redirect this user to the site on step 2

Mongrel is an application container, so you are looking at the wrong  
level.  
Yes, you can do what you are asking with a handler that you register in  
Mongrel, or with a Rails/Merb/whatever application that Mongrel runs.

To find out how to do what you want, look in web developer forums. Good  
luck!

/David
