Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 56749 invoked from network); 23 Jul 2007 13:40:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jul 2007 13:40:45 -0000 Received: (qmail 96301 invoked by uid 500); 23 Jul 2007 13:40:35 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 96287 invoked by uid 500); 23 Jul 2007 13:40:35 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 96272 invoked by uid 99); 23 Jul 2007 13:40:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 06:40:35 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of apache-users@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 06:40:33 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1ICy8o-0008II-Rd for users@httpd.apache.org; Mon, 23 Jul 2007 15:40:02 +0200 Received: from 97.82.195.153 ([97.82.195.153]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Jul 2007 15:40:02 +0200 Received: from gmane by 97.82.195.153 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Jul 2007 15:40:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: users@httpd.apache.org From: "\"Crash\" Dummy" Date: Mon, 23 Jul 2007 09:04:50 -0400 Lines: 26 Message-ID: References: <1185187526.4751.5.camel@dell2400.homelan> <813716b60707230356h112340c3rcecce796fb013d24@mail.gmail.com> X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 97.82.195.153 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Re: Custom 404 Error Page returning 200 status code - Apache/1.3.27 (Unix) If you want to send the request to a different domain while preserving the error code returned to the requester, you can put a redirect meta tag in the local error page. In your eaxmple, "/error_pages/404.html" would look like this:
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxa ;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxb ;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxc ;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxd ;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxe ;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxf ;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxg ;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxh
(The hidden filler text is to satisfy MSIE's requirement for at least 512 bytes) The local server access log will look like this (nada.htm doesn't exist): [23/Jul/2007:09:01:43 -0400] "GET /nada.htm HTTP/1.1" 404 743 -- Crash --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org