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

[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

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