The following question is not strictly about CGIP, but about a problem other users of CGIP may have run into.
I'm finding that if I use the standard
[% self.CGI.header %]
at the top of my templates, Apache disregards the resulting "Content-Type: text/html; charset=ISO-8859-1" header, and inexplicably sends out
which, of course, freaks out the browser.
Everything works almost* fine if I stick this
in my render_enter() override, even though the output now includes a duplicated "Content-Type: text/html; charset=ISO-8859-1" at the top. This suggests to me that my code is fine, and the problem is with Apache somehow.
Does anyone know why Apache is doing this and/or how to fix it?
* I say "almost" fine because, of course, the displayed page shows the now superfluous "Content-Type: text/html; charset=ISO-8859-1" at the top, coming from the template.