Jean-Michel Hiver wrote: > Description: > > > The following CGI script: > > print <<EOF; > Status: 404 Not Found > Content-Type: text/plain > > Document not found > EOF
I don't think this is ever going to work in mp1 under Registry. for the most part, allowing a script to set the status of the response line is a hack - I'm not sure how widely documented it is (I've only ever seen it in comments in Apache core myself) and I don't see the code at all in Apache 2.0. nevertheless, it doesn't work in Apache::Registry because the first print calls $r->send_http_header, which sets the status line and response headers - it's too late in the process for apache to parse the data and set the response line. HTH --Geoff -- 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