Thanks everyone.

The files would be in several different folders so it sounds like I would
need the extension rule.

I will give it a try and let you know what I work out.

Tony Zakula



2010/8/11 Jędrzej Nowak <[email protected]>

> Tony,
>
> - add rule "extension" and set it to extensions that you want to serve
> by cherokee - handler static content.
> - if you have all those files in directory add rule 'directory' and
> handler static content
>
>
> Pozdrawiam
> Jędrzej Nowak
>
>
>
> On Wed, Aug 11, 2010 at 8:54 PM, Tony Zakula <[email protected]> wrote:
> > Hi,
> > I am finally getting to deploy cherokee into production, and really
> starting
> > to enjoy using it.
> > I have a reverse proxy set up to a local Java server on the same machine.
> > Everything is working great.
> > I was wondering if it was possible to have cherokee server static files
> such
> > as images, js, pdfs, etc. instead of passing them through the reverse
> proxy.
> > I am sure that cherokee would be faster at that.
> > So I would would want Cherokee to match a list of file extensions, and
> then
> > serve this from the Java web app directory which I would set as the
> document
> > root.  If there wasn't a match, the request would pass through to the
> Java
> > server.
> > Can anyone give me a few pointers on how to do that, if it is possible?
> > Thanks!
> > Tony Z
> >
> >
> > _______________________________________________
> > Cherokee mailing list
> > [email protected]
> > http://lists.octality.com/listinfo/cherokee
> >
> >
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to