On 28/09/10 16:50, Esteban Feldman wrote:
For me works out of the box using the same kind of configuration

<app mountpoint="/">
<script>django_wsgi</script>
</app>


2010/9/28 Mario César Señoranis Ayala <[email protected] <mailto:[email protected]>>

     On 28/09/10 13:33, Roberto De Ioris wrote:

        Try substituting the block

        <app mountpoint="/">
        <script>wsgi_handler</script>
        </app>

        with only

        <module>wsgi_handler</module>


    Thank you,

    I did and I have the same result.


I create again all the vserver, here is the new config file

<uwsgi>
<pythonpath>/home/sonrisas/apps/sonrisas3/sonrisas</pythonpath>
<pythonpath>/home/sonrisas/apps/sonrisas3</pythonpath>
<pidfile>/home/sonrisas/apps/sonrisas3/var/run/sonrisas_no.pid</pidfile>
<module>wsgi_handler</module>
<listen>100</listen>
<master />
<socket-timeout>5</socket-timeout>
<processes>4</processes>
</uwsgi>

the python module:

import os
import django.core.handlers.wsgi

os.environ['DJANGO_SETTINGS_MODULE'] = 'sonrisas.settings'

application = django.core.handlers.wsgi.WSGIHandler()

The vserver has a rule for the / directory with the uwsgi handler, I also try using the default handler, so. I am quite lost, as the fastcgi instance is running ok, why this not ?

--
Mario César Señoranis Ayala

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to