From owner-freebsd-questions Sun Apr 22 21:17:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from jupiter.netmonkey.net (cc121894-a.nwhub1.in.home.com [24.10.95.125]) by hub.freebsd.org (Postfix) with ESMTP id 85DA837B423 for ; Sun, 22 Apr 2001 21:17:28 -0700 (PDT) (envelope-from matt@fear.net) Received: from [192.168.1.100] (earth.netmonkey.local [192.168.1.100]) by jupiter.netmonkey.net (8.11.1/8.11.1) with ESMTP id f3N4IQg79835; Sun, 22 Apr 2001 23:18:27 -0500 (EST) (envelope-from matt@fear.net) User-Agent: Microsoft-Entourage/9.0.1.3108 Date: Sun, 22 Apr 2001 23:17:24 -0500 Subject: Re: Customizing HTTP 404 Not Found on APACHE From: Matt Barton To: Jorge Biquez Cc: Message-ID: In-Reply-To: <5.0.2.1.2.20010422215559.01c3f7b0@icsmx.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 4/22/01 9:56 PM, "Jorge Biquez" wrote: > One question (sorry if it seems to be so basic). > > How do you customize the actions for the "HTTP 404 Not Found" error on APACHE? > > I'd like that every time users try to load a page that is not anymore on our > servers a page shows instead, or even better, that every time "HTTP 404 Not > Found" error shows, a CGI runs and send and email to the webmaster of the > domain. > > Thanks to all for all your comments. I really appreciate them. I believe you're going to want to use the apache ErrorDocument directive. I believe there is documentation on this directive on the apache.org web site. Good luck! -- Matt Barton matt@fear.net Indianapolis, IN http://www.mattbarton.ws/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message