lokiloki has asked for the wisdom of the Perl Monks concerning the following question:
I've tried a few things, and the best I can come up with is:
print "Status: 404 Not Found\n";
This "appears" to work, but doesn't appear to be a true 404 error. That is, my logs don't show it as a 404 error. And my host's 404 page handler is not called.
Does anyone know how to send a true 404 error via Perl?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to send a "true" 404 error via Perl
by ikegami (Patriarch) on Jan 17, 2007 at 22:59 UTC | |
by lokiloki (Beadle) on Jan 17, 2007 at 23:04 UTC | |
by ikegami (Patriarch) on Jan 17, 2007 at 23:09 UTC | |
by lokiloki (Beadle) on Jan 17, 2007 at 23:13 UTC | |
by ikegami (Patriarch) on Jan 17, 2007 at 23:14 UTC | |
| |
|
Re: How to send a "true" 404 error via Perl
by shmem (Chancellor) on Jan 17, 2007 at 23:56 UTC | |
|
Re: How to send a "true" 404 error via Perl
by muba (Priest) on Jan 17, 2007 at 23:28 UTC | |
|
Re: How to send a "true" 404 error via Perl
by DrHyde (Prior) on Jan 18, 2007 at 10:40 UTC |