From users-return-119408-archive-asf-public=cust-asf.ponee.io@httpd.apache.org Sat Apr 18 15:27:02 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id CD9E9180663 for ; Sat, 18 Apr 2020 17:27:01 +0200 (CEST) Received: (qmail 81487 invoked by uid 500); 18 Apr 2020 15:26:59 -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 81473 invoked by uid 99); 18 Apr 2020 15:26:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Apr 2020 15:26:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id DD42E1A3354 for ; Sat, 18 Apr 2020 15:26:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.012 X-Spam-Level: * X-Spam-Status: No, score=1.012 tagged_above=-999 required=6.31 tests=[KAM_DMARC_STATUS=0.01, KAM_LAZY_DOMAIN_SECURITY=1, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=disabled Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 53Yy2e9QdOdd for ; Sat, 18 Apr 2020 15:26:57 +0000 (UTC) Received-SPF: None (mailfrom) identity=mailfrom; client-ip=2a01:238:4324:d700:941b:6f1e:9bbb:5332; helo=para.dimethyl.amino.benzal.dehy.de; envelope-from=antony.stone@apache.open.source.it; receiver= Received: from para.dimethyl.amino.benzal.dehy.de (para.dimethyl.amino.benzal.dehy.de [IPv6:2a01:238:4324:d700:941b:6f1e:9bbb:5332]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id F15F87FB4A for ; Sat, 18 Apr 2020 15:26:56 +0000 (UTC) Received: from pikantus.localnet (cable-78-34-78-128.nc.de [78.34.78.128]) by para.dimethyl.amino.benzal.dehy.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 03IFQuad027289 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 18 Apr 2020 17:26:56 +0200 From: Antony Stone To: users@httpd.apache.org Date: Sat, 18 Apr 2020 17:26:50 +0200 User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) References: In-Reply-To: X-From: pikantus MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <202004181726.50728.Antony.Stone@apache.open.source.it> X-Greylist: inspected by milter-greylist-4.5.11 (para.dimethyl.amino.benzal.dehy.de [81.169.210.217]); Sat, 18 Apr 2020 17:26:56 +0200 (CEST) for IP:'78.34.78.128' DOMAIN:'cable-78-34-78-128.nc.de' HELO:'pikantus.localnet' FROM:'Antony.Stone@apache.open.source.it' RCPT:'' X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.5.11 (para.dimethyl.amino.benzal.dehy.de [81.169.210.217]); Sat, 18 Apr 2020 17:26:56 +0200 (CEST) Subject: Re: [users@httpd] Re: Custom Error Pages On Saturday 18 April 2020 at 17:05:22, Praveen Kumar K S wrote: > Hello, > > Any help would be appreciated. If any of you had done this before or > published on blogs or somewhere, please suggest your inputs. Well, first of all, does your web server successfully serve CGI scripts when they are found at a standard URL, rather than being an ErrorDocument reference? Antony. > On Thu, 16 Apr, 2020, 14:29 Praveen Kumar K S wrote: > > Hello, > > > > Thanks for your response. I had gone through errordocument. > > > > I would like to rephrase my question. I'm looking for help on how to > > dynamically handle error pages. I wrote a small cgi script. > > > > Below is error config. > > ErrorDocument 404 "/cgi-bin/customerror.cgi" > > > > But httpd is printing the content of /cgi-bin/customerror.cgi incase of > > 404 and not executing it. -- I conclude that there are two ways of constructing a software design: One way is to make it so simple that there are _obviously_ no deficiencies, and the other way is to make it so complicated that there are no _obvious_ deficiencies. - C A R Hoare Please reply to the list; please *don't* CC me. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org