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

--- Comment #7 from Edward Lu <[email protected]> ---
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to