Hi,
I'm on the way to release a new version of my AxKit-Port to Apache2
named Apache2::TomKit and are facing the problem that I need to set the
HTTP-Status to SERVER_ERROR when the transformation fails but I have the
feeling that this is not possible any more in this situation.
Any suggestions?
On Fri, 2006-03-17 at 16:41 +, Carl Johnstone wrote:
> In an Apache::Registry ErrorDocument (e.g. ErrorDocument 404 /my404.pl )
>
> This doesn't work:
>
> $r->header_out('Location', $newurl);
> $r->status(302);
> return OK;
>
>
> Apache returns an error saying that my 404 handler ret
I'm using apache v2/mod_perl v2/perl v5.8.1/OS X
v10.3.9/TemplateToolkit v2.14
I get the following error on apachectl restart:
v-strings are deprecated at
/Library/Perl/5.8.1/darwin-thread-multi-2level/Template/Document.pm
line 41.
v-strings are deprecated at
/Library/Perl/5.8.1/darwin-threa
Not sure but give err_headers_out a try?
Tom
Carl Johnstone wrote:
>
> In an Apache::Registry ErrorDocument (e.g. ErrorDocument 404 /my404.pl )
>
> This doesn't work:
>
> $r->header_out('Location', $newurl);
> $r->status(302);
> return OK;
>
>
> Apache returns an error saying that my 404
In an Apache::Registry ErrorDocument (e.g. ErrorDocument 404 /my404.pl )
This doesn't work:
$r->header_out('Location', $newurl);
$r->status(302);
return OK;
Apache returns an error saying that my 404 handler returned a 302 error.
Does the same if I use err_header_out
Yet enabling "Perl