Re: [BUG] Apache::Registry / 404 Not Found

2004-03-19 Thread Geoffrey Young
> Ok, I have changed the framework to use CGI.pm rather than printing the > headers on STDOUT myself. > > I _still_ get the same problem, wether or not PerlSendHeaders is turned > on or off. > It doesn't seem to make any difference whatsoever. > > Is there any extra test I can write to pinpoint

Re: [BUG] Apache::Registry / 404 Not Found

2004-03-19 Thread Jean-Michel Hiver
Perrin Harkins wrote: 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 t

Re: [BUG] Apache::Registry / 404 Not Found

2004-03-15 Thread Geoffrey Young
Jean-Michel Hiver wrote: > >> 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) a

Re: [BUG] Apache::Registry / 404 Not Found

2004-03-15 Thread Jean-Michel Hiver
Perrin Harkins wrote: 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? Well, yes - otherwise

Re: [BUG] Apache::Registry / 404 Not Found

2004-03-15 Thread Perrin Harkins
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

Re: [BUG] Apache::Registry / 404 Not Found

2004-03-15 Thread Jean-Michel Hiver
Didn't Geoff already answer this question for you? You can't do this in this way with PerlSendHeader turned on. I'm not sure if your goal here is to send your own custom 404 error or to have apache pick it up and send the ErrorDocument without your content. If you explain what you're trying to a

Re: [BUG] Apache::Registry / 404 Not Found

2004-03-15 Thread Jean-Michel Hiver
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

Re: [BUG] Apache::Registry / 404 Not Found

2004-03-15 Thread Geoffrey Young
Jean-Michel Hiver wrote: > Description: > > > The following CGI script: > >print 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 st

Re: [BUG] Apache::Registry / 404 Not Found

2004-03-15 Thread Perrin Harkins
On Mon, 2004-03-15 at 08:11, Jean-Michel Hiver wrote: > The following CGI script: > > print < Status: 404 Not Found > Content-Type: text/plain > > Document not found > EOF [...] > i.e. the Apache ErrorDocument is appended to the response. Didn't Geoff already answer this ques

[BUG] Apache::Registry / 404 Not Found

2004-03-15 Thread Jean-Michel Hiver
Description: The following CGI script: print < Document not found EOF Results in the following: Document not found 404 Not Found Not Found The requested URL /perl-bin/bug.pl was not found on this server. i.e. the Apache ErrorDocument is appended to the respon