#4054: FastCGI, SCGI and ajp in lighttpd 1.5
-----------------------+----------------------------------------------------
Reporter:  stephan     |       Owner:  jacob                          
  Status:  new         |   Component:  Documentation                  
 Version:  SVN         |    Keywords:  lighttpd, fast, fcgi, scgi, ajp
   Stage:  Unreviewed  |   Has_patch:  0                              
-----------------------+----------------------------------------------------
 I propose an addition to the documentation to be ready for lighttpd 1.5.
 
 Lighty 1.5 completely drops mod_fastcgi and adds mod_proxy_core and
 backends for scgi, fastcgi and even ajp, so the documentation has to be
 adjusted accordingly.
 
 This little code snippet will proxy requests coming to www.example.org to
 a django app which has a unix socket at /tmp/django-myproject.sock
 
 {{{
 $HTTP["host"] == "www.example.org" {
   proxy-core.balancer = "round-robin"
   proxy-core.protocol = "scgi"
   proxy-core.check-local = "disable"
   proxy-core.backends = ( "unix:/tmp/django-myproject.sock" )
   proxy-core.max-pool-size = 5
 }
 }}}
 
  * proxy-core.protocol should match the protocol setting from runfcgi
  * proxy-core.backends should match socket/host-port setting from runfcgi
  * proxy-core.max-pool-size should match maxchildren from runfcgi
 
 Maybe runfcgi should be dropped and added to runserver. However, calling
 runserver without arguments would still spawn the development server.
 
 After lighty 1.5.0 is released we should do some benchmarks on performance
 of fastcgi/scgi/ajp, try different load-balancers and determine whether
 forking or threading is better on different setups.
 
 === References ===
 
 http://trac.lighttpd.net/trac/wiki/Docs%3AModProxyCore

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4054>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to