[Twisted-web] fcgi.py

Michal Pasternak twisted-web@twistedmatrix.com
Sat, 14 Feb 2004 12:50:59 +0100


robin bryce [Sat, Feb 14, 2004 at 11:14:25AM +0000]:
> is there a better way to get apache talking to a twisted server ?

I have no idea if it is better, but it works. Especially, when you have
already some apache virtual hosts running. This has been tested with 
apache 1.3.x

 * enable mod_proxy (LoadModule proxy_module ...)
 
 * configure mod_proxy (unhashing default config is okay)
 
 * add VirtualHost entry:
 
 <VirtualHost I.P.NUM.BER>
 	# add some standard settings, such as ServerName, ServerAlias,
	# ServerAdmin, ErrorLog, TransferLog
	
        ProxyPass       / http://127.0.0.1:PORT_WHERE_TWISTED_WEB_IS_RUNNING/
 </VirtualHost>