On Feb 19, 12:58 am, pistacchio <pistacc...@gmail.com> wrote:
> I'm trying to run Django with fastcgi. With runserver I've already
> tested that the site works fine in production. When I run
>
>     python manage.py runfcgi host=127.0.0.1 port=9500
>
> the daemon runs, but every call just hangs, like this:
>
>     pistacchio@amaterasu:~/sites/comesichiama$ python manage.py
> runfcgi host=127.0.1 port=9500
>     pistacchio@amaterasu:~/sites/comesichiama$ wget 127.0.0.1:9500
>     --2012-02-18 22:55:37--  http://127.0.0.1:9500/
>     Connecting to 127.0.0.1:9500... connected.
>     HTTP request sent, awaiting response...
>
> I don't know what is going on and I have no idea on how to debug an
> eventual error. Also
>
>     python manage.py runfcgi host=127.0.0.1 port=9500 debug=true
> daemonize=false outlog=out.log errlog=err.log
>
> Doesn't help, i get no messages of any kind. Any help?

I haven't used fastcgi, but I guess it isn't meant to be used with
wget... You should have a web server which translates the HTTP
requests to fastcgi ones. See 
https://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/
for setup guidance or google django + fastcgi for more information.

 - Anssi

-- 
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.

Reply via email to