Re: Re: Custom Error Pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux