On Mon, 2004-03-15 at 16:23, Jean-Michel Hiver wrote: > Yes, what I'm trying to achieve is get Apache::Registry to send custom > 404 pages - just like under mod_cgi.
I assume that means you want to be able to run the exact same script under mod_cgi? And you don't want to make this script be your ErrorDocument? Basically, you need to turn off PerlSendHeader and manage the headers yourself. One thing you could do is use the header() function in CGI.pm. This produces the same results under mod_cgi. - Perrin -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html