[Mongrel] Moving page_cache_directory

Russell Norris rsl at swimcommunity.org
Tue Oct 31 11:38:55 EST 2006


I feel bad now. I didn't mean to add more to your plate, Zed.

RSL

On 10/31/06, Zed A. Shaw <zedshaw at zedshaw.com> wrote:
>
> On Tue, 31 Oct 2006 08:55:13 -0500
> "Russell Norris" <rsl at swimcommunity.org> wrote:
>
> > Howdy. I'm working on a RoR CMS and need cached pages to all be in
> > public/cache rather than public [in order to set svn:ignore on all the
> files
> > properly]. I can get page_cache_directory set correctly and the pages
> are
> > cached in the right place but Mongrel isn't serving them because it's
> only
> > looking for them in public. During development I know I can set -r
> > public/cache but doing that means that the images and stylesheets don't
> get
> > picked up. I'm sure there's a way to tell Mongrel to look in both places
> or
> > at least to serve assets from public and cached pages from public/cache.
> > Isn't there?
> >
>
> I believe there was a patch for this and that I applied it to the current
> pre-release.  I'm super busy today, but I'll be spending some time later in
> the afternoon on Mongrel.
>
> I'll sit down and figure out how to dynamically determine this from the
> Rails configuration if I haven't done that already.
>
> --
> Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
> http://www.zedshaw.com/
> http://safari.oreilly.com/0321483502 -- The Mongrel Book
> http://mongrel.rubyforge.org/
> http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
> _______________________________________________
> 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/20061031/810d2271/attachment.html 


More information about the Mongrel-users mailing list