Benoit Plessis wrote:
$r -> headers_out->set('Content-Length', length
$error_page);
Hmm...
<html>
<head>
<title>Incident sur l'hebergement</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
.....
Using links everything goes fine, but firefox do not show anything (and
there is nothing in 'view source').
(Well if the rand() did not trigger then in this case Firefox show the
proxy'ed content correctly).
Any idea ? something i did wrong ?
Given that this is in French, is it possible this is a UTF8 issue?
Could length $error_page be returning a value that is inconsistent with
the actual length of the message. If so, firefox might be ignoring some
or all of the message.
I could be wrong. I would try unsetting content length to see if that
corrects the issue.
Rob