Welcome Guest, Not a member yet? Register   Sign In
HTML Source code with apache headers instead of web page.
#1

[eluser]Unknown[/eluser]
Hello,

Frequently I can see html source code with apache headers (below) instead of normal page on websites that run on CI framework. At least 4 projects.

Client: XP + ZoneAlarm + FireFox

Everything goes back to normal if I
1. shut down ZoneAlarm
or
2. create PHP error like headers already sent

----------------------------------------------------------------------
Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e DAV/2 PHP/5.2.11
X-Powered-By: PHP/5.2.11
Set-Cookie: ci_session=a:0:{}; expires=Tue, 27-Jan-2009 04:29:13 GMT; path=/
Set-Cookie: ci_session=a%3 **** 7738; expires=Tue, 26-Jan-2010 20:29:13 GMT; path=/
Set-Cookie: ci_session=a%3 **** 7738; expires=Tue, 26-Jan-2010 20:29:13 GMT; path=/
Set-Cookie: ci_session=a%3 **** 7738; expires=Tue, 26-Jan-2010 20:29:13 GMT; path=/
Keep-Alive: timeout=5, max=100
Content-Type: text/html; charset=UTF-8
Transfer-encoding: chunked

4eb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
&lt;html &gt;
&lt;head&gt;
&lt;meta http-equiv="content-type" content="text/html; charset=UTF-8" /&gt;
&lt;meta name="robots" content="all" /&gt;
&lt;meta http-equiv="pragma" content="cache" /&gt;
----------------------------------------------------------------------
I understand that in case of error default headers are sent.
How can I avoid this? Any comments are welcome.

Regards.




Theme © iAndrew 2016 - Forum software by © MyBB