HTML Source code with apache headers instead of web page. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: HTML Source code with apache headers instead of web page. (/showthread.php?tid=26902) |
HTML Source code with apache headers instead of web page. - El Forum - 01-26-2010 [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"> <html > <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta name="robots" content="all" /> <meta http-equiv="pragma" content="cache" /> ---------------------------------------------------------------------- I understand that in case of error default headers are sent. How can I avoid this? Any comments are welcome. Regards. |