[Mongrel] mongrel served from a subdirectory
rmdf at stimble.net
Thu Nov 30 20:57:54 EST 2006
Thanks for that Philip. I missed that option. I tried starting up with
that, but --prefix=/docserver and leaving the apache stuff the same. When i
did that i couldn't even get any of it.
I think there might be something i need to set in enviornment.rb, but im
I'll keep trying.
On 11/30/06, Philip Hallstrom <mongrel at philip.pjkh.com> wrote:
> > Hello,
> > I have setup mongrel successfully a few times now, but, each time I have
> > used apaceh 2.2 and mod_proxy setup descibed on the mongrel site.
> > However, I need to set up another app in a subdomain.
> > instead of docserver.example.com.
> > I have tried just adding I have something like:
> > ProxyPass /docserver/ http://example.com:3001/
> > ProxyPassReverse /docserver/ http://example.com:3001
> > ProxyPreserveHost on
> > links, are all broken. Second all the generated links are to
> > /controller/action instead of to docserver/controller/action.
> > I tried putting RAILS_RELATIVE_URL_ROOT="/docserver/" in enviornment.rb,
> > that didn't help.
> I haven't done it, but seems my memory is there is a --prefix option to
> mongrel that you need to set as well...
> Check the mongrel site to see if there any docs on this...
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mongrel-users