{"issue":{"created_at":"2011-11-29T06:52:58Z","state":"open","updated_at":"2011-11-29T06:53:02Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"comments":3,"body":"Die Kombination aus FastCGI, TYPOlight und tcpdf führt zu einem 500 Internal Server Error.\n\nGrund dafür ist, dass TYPOlight Standartmäßig einen Content-Type text/html an den Browser schickt. tcpdf schickt im nachhinein den Content-Type application/pdf.\n\nIm aktuellen Stable-Release von mod_fastcgi ist dies jedoch nicht erlaubt und der Server quittiert den Dienst mit einer 500er Meldung.\n\nAls Workaround kann man den aktuellen Snapshop von FastCGI einspielen in dem dieser Fehler behoben wurde. Da das letzte Release jedoch über ein Jahr zurückliegt ist nicht abzusehen wann es eine neue Version gibt.\n\nBessere wäre es wenn TL den Content-Type nur sendet, wenn kein PDF generiert werden soll.\n\n--- _Originally created by anonymous on June 30th, 2009, at 10:50am (ID 840)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"id":2379296,"number":840,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Defect","color":"bd2c00","url":"https://api.github.com/repos/contao/test/labels/Defect"},{"name":"frontend","color":"e6e6e6","url":"https://api.github.com/repos/contao/test/labels/frontend"}],"title":"FastCGI & tcpdf","closed_at":null,"html_url":"https://github.com/contao/test/issues/840","url":"https://api.github.com/repos/contao/test/issues/840","milestone":null},"action":"created","comment":{"created_at":"2011-11-29T06:53:02Z","updated_at":"2011-11-29T06:53:02Z","user":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"body":"Ich habe eben ein paar Tests gemacht, konnte das Problem mit den zwei Content-Type-Headern aber nicht reproduzieren. Laut \"Live HTTP headers\" wird jeweils nur der Content-Type \"application/pdf\" gesendet. Welches PDF-Plugin nutzt Du?\n\n--- _Originally created on July 4th, 2009, at 08:42pm_","id":2917965,"url":"https://api.github.com/repos/contao/test/issues/comments/2917965"}}