[Mongrel] Multiple DocRoots

Michael D'Auria michael.dauria at gmail.com
Wed Dec 27 13:41:04 EST 2006


Couldn't you just symlink everything back to the shared location?  I'm
assuming you are on *nix of course

.: Michael :.


On 12/27/06, Todd Fisher <todd.fisher at gmail.com> wrote:
>
> I'm wondering if it's possible to setup mongrel to have multiple document
> roots?  The use case I'm trying to solve is one where I have a library of
> shared CSS/JS/Images and would like multiple rails application to use them.
> I have written a proxy controller and added some routes to serve the static
> files and it works reasonably well, but is extremely slow, because it's
> single threaded.  I'd like mongrel to serve these files.  I'm wondering if
> there is a way to use -s option to add an aditional document root handler.
>
> Thanks,
> Todd
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20061227/ce08d2ce/attachment.html 


More information about the Mongrel-users mailing list