5 messages in ru.sysoev.nginx"fallback" response code
FromSent OnAttachments
Phillip OldhamJun 9, 2009 12:04 am 
andan andanJun 9, 2009 1:12 am 
Igor SysoevJun 9, 2009 1:14 am 
Maxim DouninJun 9, 2009 1:17 am 
Systems MaintenanceJun 11, 2009 4:22 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:"fallback" response codeActions...
From:Phillip Oldham (phi@theactivitypeople.co.uk)
Date:Jun 9, 2009 12:04:59 am
List:ru.sysoev.nginx

I'm using a custom perl script in the following way:

location ~ ^/resources { error_page 404 @fallback; }

location @fallback { perl MyModule::handler; }

The fallback works as expected, apart from that it always returns a 404 with content, rather than a 200.

Is there any way to force a 200 when I'm sending content back to the browser from either the Perl script or from the @fallback block?