"fallback" response code

Phillip Oldham phill at theactivitypeople.co.uk
Tue Jun 9 11:05:22 MSD 2009

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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090609/9189d4b0/attachment.html>

More information about the nginx mailing list