Django - malformed header from script


I’ve developed a site in Django, when I put it onto Dreamhost I started having problems with some areas. If you go to and select a tag. You should go to a list of articles/posts etc. for that tag. Instead you are re-directed to the front page, the error.log shows “malformed header from script. Bad header=[]:, referer:

The same error will also show up when you post in the forum, but you need to be registered for that…

Any ideas what is causing it?

Thanks in advance,


The problem was print statements in the views