I have no idea what the problem could be, but did you turn on FastCGI
error logging in Django? I also have a SCGI source for Django, and I
activated error logging in this file:
/usr/local/lib/python2.6/dist-packages/django/core/servers/fastcgi.py
(your path may differ, of course), where I added these lines to have the
FastCGI process write a log:
FASTCGI_OPTIONS = {
...
'outlog': '/var/log/fastcgi/fastcgi.log',
'errlog': '/var/log/fastcgi/fastcgi-error.log',
...
}
Helped me to understand some "Unhandeled Exceptions".
mario alejandro schrieb:
> I finally setup Cherokee, and successfully put to run my first django
site.
>
> However, I run with the same project 2 sites (using sites framework)
> and different settings.
>
> The first run ok, the second I clone the sources (SCGI), change the
> port & name and put do:
>
> python /home/jill/proyectos/website/manage.py runfcgi protocol=scgi
> host=127.0.0.1 port=34261 --settings=settings_main
>
> But I getting (in browser):
>
> Unhandled Exception
>
> An unhandled exception was thrown by the application.
>
> I run cat /var/log/cherokee.error but not see any error.
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee