SrFabio has asked for the wisdom of the Perl Monks concerning the following question:
I just want to know why the browser shows nothing. Error log is clear, access log says this:#!/usr/bin/perl # 401response.pl use warnings; use strict; use CGI; my $cgi = new CGI; print $cgi->header('type text/html','401 Authorization Required!');
Does anyone knows what could be the problem? Shouldnt my browser show the error i've putted on header() ? (i've tested with 2 browsers). Thank you ;)127.0.0.1 - - [15/Jul/2009:01:01:53 +0000] "GET /cgi-bin/401response.p +l HTTP/1.1" 401 -
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI 401 Response
by ikegami (Patriarch) on Jul 15, 2009 at 01:47 UTC | |
by SrFabio (Initiate) on Jul 15, 2009 at 02:40 UTC | |
by ikegami (Patriarch) on Jul 15, 2009 at 05:10 UTC | |
by SrFabio (Initiate) on Jul 15, 2009 at 11:52 UTC | |
|
Re: CGI 401 Response
by Anonymous Monk on Jul 15, 2009 at 06:26 UTC | |
by SrFabio (Initiate) on Jul 15, 2009 at 11:50 UTC |