Forum: Rails deployment how to run multiple application on mongrel using proxy??

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
My N. (Guest)
on 2008-10-29 16:21
hey im wondering how can i run multiple application on mongrel using
proxy. my supervisor wants it so that mongrel does everything for you.
for example mongrel should know that the relative url is
http://domain/myapp and he could change myapp to myappp2 to anything and
mongrel will know that automatically to goto http://domain/myapp2 or if
he was to remove the proxy mongrel should know that automatically.

i have no access to edit the proxy but all i know is that it looks
something like this

  ProxyRequests Off
  <Proxy *>
    Order deny,allow
    Allow from all
  </Proxy>

  ProxyPass /myapp/ http://server:3000/
  <Location /myapp>
    ProxyPassReverse http://server:3000
  </Location>

also he is seriously against using the --prefix command on mongrol.
because you have to match the --prefix name to the proxy and wants that
to be more dynamic. is this possible?
This topic is locked and can not be replied to.