CGI Script Error
[email protected] Tue, 02 Mar 2010 07:31:39 -0000
| Newsgroups | gmane.comp.python.twisted.bugs |
|---|---|
| Message-ID | <[email protected]> |
New submission from sirex <[email protected]>: Hi, I'm trying to use cakePHP development server: cakephp-instaweb: * http://bakery.cakephp.org/articles/view/the-cakephp-instaweb-webserver Instaweb webserver is very simple one file python script, that uses Twisted. It seems, that script is written correctly, but Twisted some how can't get output from php-cgi executable. From comandline: {{{ $ echo '<?php echo "test\n";' | php-cgi }}} Everything works OK, but with twisted instaweb, all I get is: {{{ CGI Script Error Premature end of script headers. }}} I use python-twisted-bin 8.2.0-3 from Ubuntu 9.10 with php5-cgi 5.3.1-0.dotdeb.1. PHP 5.3 is installed from: * http://www.dotdeb.org/2009/11/30/php-5-3-1-packages-for-debian-lenny-theyre-here/ ---------- Type : defect Component: web Keywords : Priority : normal Nosy : ---------- http://twistedmatrix.com/trac/ticket/4337