perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Wesemann <>
Subject Can't set $epreq->apache_req->status on Apache 2.2
Date Fri, 11 Oct 2013 19:58:58 GMT
I do have .ep files, that deliver binary content from a database to 
browsers (generated images which are requested via <img 

If an image isn't in the DB I am setting

$epreq->apache_req->status_line("404 Not found");
$http_headers_out{'Content-Type'} = "text/plain; charset=ISO-8859-1";
print OUT "The image can't be found";

And the browser get's an 404 and shows a broken image (or nothing nowadays).
This works like a charme in my development environment under Apache 2.0.55.

In the production environment under Apache 2.2.3 the status line isn't 
set, so the browser gets an "200 OK" status.

In both environments EMBPERL_OPTIONS is 270338.
Embperl Version is 2.3.0

Is this an known issue?
Did the Apache API change?
Anything else that might be different?
Any thoughts welcome.

mit freundlichem Gruß,

Frank Wesemann
Fotofinder GmbH         USt-IdNr. DE812854514
Software Entwicklung    Web:
Potsdamer Str. 96       Tel: +49 30 25 79 28 90
10785 Berlin            Fax: +49 30 25 79 28 999

Sitz: Berlin
Amtsgericht Berlin Charlottenburg (HRB 73099)
Geschäftsführer: Ali Paczensky

View raw message