You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2014/04/03 20:16:43 UTC

[Bug 55669] Mod_Cache caching 503 Errors

https://issues.apache.org/bugzilla/show_bug.cgi?id=55669

--- Comment #7 from Edward Lu <Ch...@gmail.com> ---
Created attachment 31472
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31472&action=edit
Add ExpiresAllow directive to mod_expires

It looks like this is happening only when something external to Apache is
returning an error code. This code, inside expires_insert_filter(), isn't
getting run:

    /* Don't add Expires headers to errors */
    if (ap_is_HTTP_ERROR(r->status)) {
        return;
    }

It probably has something to do with the error path for processing. Attached is
a patch that adds a directive allowing you to specify specific return codes
that mod_expires will process. It seems like something should also be done to
cleanup the code that's already there, though.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org