From 2d6f56860887e37dabddf9bdf91ee23cf5ea1d31 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Thu, 30 Jun 2011 21:57:29 +0000 Subject: [PATCH] Redirect headers have to be in err_headers_out. --- apache/mod_apache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apache/mod_apache.cpp b/apache/mod_apache.cpp index 9ed5159..0b72e37 100644 --- a/apache/mod_apache.cpp +++ b/apache/mod_apache.cpp @@ -591,8 +591,8 @@ public: HTTPResponse::sendRedirect(url); ap_table_set(m_req->headers_out, "Location", url); if (m_dc->bExpireRedirects == 1) { - ap_table_set(m_req->headers_out, "Expires", "01-Jan-1997 12:00:00 GMT"); - ap_table_set(m_req->headers_out, "Cache-Control", "private,no-store,no-cache"); + ap_table_set(m_req->err_headers_out, "Expires", "01-Jan-1997 12:00:00 GMT"); + ap_table_set(m_req->err_headers_out, "Cache-Control", "private,no-store,no-cache"); } return REDIRECT; } -- 2.1.4