Looking for a working code ignitor nginx rewrite

Edho P Arief edhoprima at gmail.com
Tue Aug 11 06:57:31 MSD 2009

On Tue, Aug 11, 2009 at 4:35 AM, Helgem Megelaat<lists at ruby-forum.com> wrote:
> Hi I tried launching a new site of mine the other night and it had
> issues with the rewrite.
> So I was forced to pull my site offline and swap to an older version.
> Basically none of my directories would load, like /forums/ would give me
> a 404 and /admin/ would but the rewritten pages would load fine.
> I would like it to simply serve the files in my
> uploads|images|js|stylesheet directories without looking up rewrites,
> and then have it serve my cache files, and then if nothing is found load
> the normal page.
> I'm wondering if anyone can look at my rewrite and tell me a
> better/correct way to do it.
> If anyone has done this and can help please do, I'm lost as to what i
> did wrong so far.
> Attachments:
> http://www.ruby-forum.com/attachment/3937/rewritefornginx.conf
> --
> Posted via http://www.ruby-forum.com/.


O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

More information about the nginx mailing list