FastCGI Unhandled Exception
|Reported by:||cpghost@…||Owned by:||adrian|
|Severity:||Keywords:||runfcgi fastcgi unhandled exception|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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:
- 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", ) ) )
- django-admin.py startproject mysite
- cd mysite
- python manage.py runfcgi method=threaded host=127.0.0.1 port=10002 daemonize=True
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.
Change History (5)
comment:1 Changed 9 years ago by anonymous
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset