Re: [mp2] HTTP status code w/ ModPerl::Registry

2004-10-17 Thread Stas Bekman
[oops, didn't finish the sentence] Sounds right. May be the ErrorDocument gets on the way and mishandles it? Try modifying the config in modperl-2.0/ModPerl-Registry/t/ and see if you can break that test, since it does exactly what you try to, but there is no explicit ErrorDocument setting. To s

Re: [mp2] HTTP status code w/ ModPerl::Registry

2004-10-17 Thread Stas Bekman
[Colin, please don't forget to Reply-All to CC the list] Colin Wetherbee wrote: Stas Bekman said: Colin Wetherbee wrote: I want to have my Perl script, upon getting the wrong CGI parameters, to give a status 404. Then, the ErrorDocument for 404 goes back to that same Perl script but with the CGI p

Re: [mp2] HTTP status code w/ ModPerl::Registry

2004-10-15 Thread Stas Bekman
Colin Wetherbee wrote: Greetings. Seems I'm confused about how to get mod_perl to send status codes other than 200 OK. I want to have my Perl script, upon getting the wrong CGI parameters, to give a status 404. Then, the ErrorDocument for 404 goes back to that same Perl script but with the CGI par

[mp2] HTTP status code w/ ModPerl::Registry

2004-10-15 Thread Colin Wetherbee
Greetings. Seems I'm confused about how to get mod_perl to send status codes other than 200 OK. I want to have my Perl script, upon getting the wrong CGI parameters, to give a status 404. Then, the ErrorDocument for 404 goes back to that same Perl script but with the CGI parameter ?page=error404