#3928: FastCGI Unhandled Exception
-------------------------------+--------------------------------------------
Reporter:  [EMAIL PROTECTED]  |       Owner:  adrian                            
 
  Status:  new                 |   Component:  django-admin.py runserver        
  
 Version:  SVN                 |    Keywords:  runfcgi fastcgi unhandled 
exception
   Stage:  Unreviewed          |   Has_patch:  0                                
  
-------------------------------+--------------------------------------------
 Running /usr/ports/www/py-django-devel (Django-20070214.tar.gz) on FreeBSD
 6.2, I can't get FastCGI (with lighttpd) to run. The embedded (runserver)
 server works correctly, just runfcgi doesn't.
 
 How to reproduce:
 -----------------
 
 1. Start lighttpd/fastcgi like this:
 
 {{{
 server.port                = 85
 fastcgi.server             = ( "/" =>
                                ( "localhost" =>
                                  (
                                    "host" => "127.0.0.1",
                                    "port" => 10002,
                                    "bin-copy-environment" =>
                                    (
                                      "PATH", "SHELL", "USER"
                                    ),
                                    "broken-scriptfilename" => "enable",
                                  )
                                )
                             )
 }}}
 
 2. django-admin.py startproject mysite
 
 3. cd mysite
 
 4. python manage.py runfcgi method=threaded host=127.0.0.1 port=10002
 daemonize=True
 
 Now access http://127.0.0.1:85/ (Unhandled Exception - instead of the
 Django greeting page),
 and http://127.0.0.1:85/blah (404, as expected).
 
 Adding a view and mapping it with urls.py also results in 404.
 
 Everything works just fine with runserver, but not with runfcgi. Same
 problem with 0.95. Same problem with prefork instead of threaded.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3928>
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