# Multiple Rails Heads

**URL:** <https://www.ruby-forum.com/t/multiple-rails-heads/104697>\
**Category:** Rails\
**Created:** [May 21, 2007, 6:13pm UTC](https://www.ruby-forum.com/t/multiple-rails-heads/104697 "2007-05-21T18:13:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Friedgan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e480ec/32.png) [@Mark\_Friedgan](https://www.ruby-forum.com/u/Mark_Friedgan)\
**Post date:** [May 21, 2007, 6:13pm UTC](https://www.ruby-forum.com/t/multiple-rails-heads/104697/1 "2007-05-21T18:13:29Z")

</div>

I started a discussion with David (it’s below) he suggested I address  
the group so I am going to add further questions here.

1. Is there a way to put the different modules on different hostnames  
that isn’t just web server configuration?
2. What about static files?
3. Different memory (ULIMIT) limits for each module?
4. Selective loading of controllers to limit memory consumption by  
each module?

Mark

* * *

Sounds like what you want is a module.

class Admin::PostsController  
end

/app/controllers/admin/posts\_controllers.rb

/admin/posts/45

For more on this, try the rubyonrails-talk mailing list on Google  
groups. There’s a big community there who are usually more than happy  
to help with any problems or questions regarding the framework. Good  
luck.

- Hide quoted text -
