Flup is just a proxy library between your Django project and web-server. It is communicating with web-server through FastCGI protocol. So you cannot just start FastCGI daemon and visit you project with browser. To work properly you must set up your web-server's FastCGI capabilities and direct it to flup's daemon according to documentation [1].
[1]: http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/#howto-deployment-fastcgi On Fri, Apr 10, 2009 at 8:31 AM, mysticalfirebird <mysticalfireb...@gmail.com> wrote: > > I`m a rookie. > I wonder how flup work. > > I have typed "python manage.py runfcgi host=127.0.0.1 port=8000 > daemonize=false ". > the terminal return nothing but a newline. > I try to visit http://127.0.0.1:8000/ with my Firefox.but no page > return.and the port(127.0.0.1:8000) is used. > > if I type "python manage.py runfcgi " without host&port params . the > terminal will return homepage`s HTML code on terminal self. > > if i type“python manage.py runfcgi daemonize=false host=127.0.0.1 > port=8000 protocol=scgil", terminal return “WSGIServer starting up” > and then I visit http://127.0.0.1:8000/ the terminal return "Protocol > error 'invalid netstring length'" > I still can`t get my page on browser. which run well on web server of > django self(manage.py runserver). > > my system: > ubuntu 8.10 > python 2.5.2 > django 1.0.2 final > flup 1.0.1 > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---