Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 11187 invoked from network); 2 Jun 2004 21:50:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Jun 2004 21:50:16 -0000 Received: (qmail 14078 invoked by uid 500); 2 Jun 2004 21:50:25 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 14056 invoked by uid 500); 2 Jun 2004 21:50:24 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 14035 invoked by uid 99); 2 Jun 2004 21:50:24 -0000 Received: from [137.65.81.169] (HELO sinclair.provo.novell.com) (137.65.81.169) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 02 Jun 2004 14:50:24 -0700 Received: from INET-PRV-MTA by sinclair.provo.novell.com with Novell_GroupWise; Wed, 02 Jun 2004 15:50:02 -0600 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta Date: Wed, 02 Jun 2004 15:49:47 -0600 From: "Brad Nicholes" To: Subject: ErrorHeader directive... Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N If an ErrorHeader is defined, shouldn't it only be included on non-200 http responses (ie. only on 3xx,4xx,5xx responses as the documentation states)? With the following configuration I am seeing the ErrorHeader as well as the Header on 200 responses and only the ErrorHeader on non-200 responses. I would expect to see one or the other, not both. LoadModule headers_module modules/mod_headers.so Header add MyHeader "%D %t" ErrorHeader add ErrorHeader "%D %t" ---------------------------------------------------- HTTP/1.1 200 OK\r\n Date: Wed, 02 Jun 2004 21:53:22 GMT\r\n Server: Apache/2.1.0-dev (Unix) mod_ssl/2.1.0-dev OpenSSL/0.9.7b\r\n Content-Location: index.html.en\r\n Vary: negotiate,accept-language,accept-charset\r\n TCN: choice\r\n ErrorHeader: D=1961 t=1086213202633752\r\n Last-Modified: Fri, 04 May 2001 00:01:18 GMT\r\n ETag: "279bd4-5b0-40446f80;279beb-9a2-7e20c400"\r\n Accept-Ranges: bytes\r\n Content-Length: 1456\r\n MyHeader: D=1979 t=1086213202633752\r\n Keep-Alive: timeout=15, max=100\r\n Connection: Keep-Alive\r\n Content-Type: text/html; charset=ISO-8859-1\r\n Content-Language: en\r\n \r\n HTTP/1.1 404 Not Found\r\n Date: Wed, 02 Jun 2004 21:53:27 GMT\r\n Server: Apache/2.1.0-dev (Unix) mod_ssl/2.1.0-dev OpenSSL/0.9.7b\r\n ErrorHeader: D=436 t=1086213207904344\r\n Content-Length: 311\r\n Keep-Alive: timeout=15, max=98\r\n Connection: Keep-Alive\r\n Content-Type: text/html; charset=iso-8859-1\r\n \r\n Brad Nicholes Senior Software Engineer Novell, Inc., the leading provider of Net business solutions http://www.novell.com