#!/usr/bin/perl /usr/bin/asp-perl <% if(! $ENV{MOD_PERL}) { print "ERROR: \$Response->ErrorDocument() is not implemented in CGI mode\n"; $Response->End; } %> <% my $file = DemoASP->new->{file}; $Response->Status('404'); my $padding = ' ' x 1000; # IE Error page busting ( 512 bytes needed ) $Response->ErrorDocument('404', <Custom 404 Error This is a custom response for the 404 error, that this script just created, utilizing the \$Response->ErrorDocument(\$error_code, \$uri) method.

view this file's source $padding ERROR ; %> This should not be printed