Helmut Zeilinger wrote:
Hi all,

when i try to use

$Response->ErrorDocument (404, '/notfound.page')

in combination with

$Response->Status (404)

i do not get my "notfound page", but a 404 Apache error message
combined with an additional 404 message:


I don't know why this would not work for you. Apache::ASP uses Apache->request->custom_response($code, $uri) internally, and you might try that API directly.

If nothing ends up working for you, you might try first doing a:

 my $error_text = $Response->TrapInclude('notfound.page');
 $Response->ErrorDocument(404, $$error_text);

Regards,

Josh

________________________________________________________________________
Josh Chamas, Founder    | NodeWorks - http://www.nodeworks.com
Chamas Enterprises Inc. | NodeWorks Directory - http://dir.nodeworks.com
http://www.chamas.com   | Apache::ASP - http://www.apache-asp.org



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to