Eeschk..  My tests wasn't any good.  This patch should work:

*** http_protocol.c     1998/08/25 09:15:31     1.239
--- http_protocol.c     1998/09/17 16:20:30
***************
*** 1292,1300 ****
       * Control cachability for non-cachable responses if not already set by
       * some other part of the server configuration.
       */
!     if (r->no_cache && !ap_table_get(r->headers_out, "Expires"))
          ap_table_addn(r->headers_out, "Expires",
                    ap_gm_timestr_822(r->pool, r->request_time));

      /* Send the entire table of header fields, terminated by an empty line. */

--- 1292,1303 ----
       * Control cachability for non-cachable responses if not already set by
       * some other part of the server configuration.
       */
!     if (r->no_cache && !ap_table_get(r->headers_out, "Expires")) {
          ap_table_addn(r->headers_out, "Expires",
                    ap_gm_timestr_822(r->pool, r->request_time));
+         ap_table_addn(r->headers_out, "Pragma", "no-cache");
+         ap_table_addn(r->headers_out, "Cache-control", "no-cache");
+       }

      /* Send the entire table of header fields, terminated by an empty line. */
 


ask

-- 
ask bjoern hansen - http://www.netcetera.dk/

Reply via email to