[Twisted-Python] Twisted to proxy php out to apache?

Remi Cool mailinglists at smartology.nl
Tue May 23 12:31:15 EDT 2006


Hello fellow twisters,

We have a rather large web app based on xul, xmlrpc (via twisted) and
php (via apache) .... and we would like to get it all (in due time) in
python.

As a first step it would be perfect to let twisted handle php page
requests so that we can use nevow for the upcomming modules and convert
old modules when we have the time to spare.

Some time ago, I  tried to get PHP to run as a CGI from twisted ... that
was so slow that I got timing problems and a non operatable webapp.
Nothing new on the FCGI for PHP front yet?

My question ... is it possible to pass php page requests from twisted to
apache so I don't suffer the speed loss but still have my app listening
on only one port (for http and xmlrpc) ? So can twisted be a proxy for
php or is this not the recommended way to go?

- Remi -




More information about the Twisted-Python mailing list