On 13-nov-2005, at 19:08, Abdallah Deeb wrote:
Jean-Paul,
Thank you, we're heading somewhere... now it's serving the HTML files
correctly, but PHP scripts die with a:
CGI Script Error
Premature end of script headers.
from twisted.internet import reactor, win32eventreactor
...
win32eventreactor.install()
reactor = win32eventreactor.Win32Reactor()
reactor.listenTCP(1999, site)
reactor.run()
From the top of my head:
from twisted.internet import win32eventreactor
win32eventreactor.install()
from twisted.internet import reactor
...
reactor.listenTCP(1999, site)
reactor.run()
Note that this is explained in the documentation.
From the logs:
cmdline 'c:\\PHP\\php c:\\Code\\Web\\index.php'
command 'c:\\PHP\\php'
path 'c:\\Code\\Web'
Any ideas would be appreciated.
Thank you all guys for your help.
On 11/13/05, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
http://twistedmatrix.com/projects/core/documentation/howto/
choosing-reactor.html#auto8
--
Abdallah Deeb
_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web