Check mod_wsgi for configuring apache with django.
https://docs.djangoproject.com/en/1.2/howto/deployment/modwsgi/
Make sure to check all permissions for the files.

On Thursday, October 17, 2013 8:12:07 PM UTC+5:30, Zoubeida wrote:
>
> Hi all,
>
> i am new in django, and i want to deploy my application.
> i create a package via setuptools.
> in my prod server i create myvirtualenv where i installed my new package.
> i also installed supêrvisor and i configured it.
>
> i tried to use gunicorn, i install it and when i run : gunicorn_django 
> --bind localhost:8001
> there is an error with rpc4django:
>
> File 
> "/home/zzarkouna/.virtualenvs/DEP/local/lib/python2.7/site-packages/rpc4django/rpcdispatcher.py",
>  
> line 350, in register_rpcmethods
>     app = __import__(appname, globals(), locals(), ['*'])
>
> but when i run it normally : Myproject_admin runserver 8001 ---> 
> everything is OK!
>
> My second prob is how to configure apache with my application package?
>
> Any idea??
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5b192f32-ea30-41ec-a745-2744e72afd4a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to