twotone has asked for the wisdom of the Perl Monks concerning the following question:
I want to use a single perl script for my website that will be registered as the 404 error handler and then will return the desired web page based on the url path after the domain.
This works, but I noticed that it returns the https status code 404. Does anyone know if it is possible for me to alter the http headers to return the 202 OK header instead?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Changing http headers in cgi response
by Your Mother (Archbishop) on Aug 25, 2010 at 22:15 UTC | |
by twotone (Beadle) on Sep 10, 2010 at 05:16 UTC | |
by Your Mother (Archbishop) on Sep 10, 2010 at 06:24 UTC | |
Re: Changing http headers in cgi response
by mr_mischief (Monsignor) on Aug 25, 2010 at 23:16 UTC | |
by twotone (Beadle) on Sep 10, 2010 at 05:20 UTC | |
by mr_mischief (Monsignor) on Sep 10, 2010 at 08:56 UTC | |
Re: Changing http headers in cgi response
by Anonymous Monk on Aug 25, 2010 at 22:21 UTC | |
by twotone (Beadle) on Sep 10, 2010 at 05:17 UTC |
Back to
Seekers of Perl Wisdom