Take a look here:

https://nemec.lu/en/how-to/~django-nginx-uwsgi-ssl

It is not apache, but nginx + uwsgi app + django

wsgi.py is generated automatically by manage.py startproject

example is here:
https://github.com/lunemec/wysiwyg/blob/master/wysiwyg/wsgi.py

Note: this is the app that runs under the hood of http://nemec.lu
so it is working...



On 07/16/2013 01:59 PM, Robert Jonathan Šimon wrote:
I have one question what must be in wsgi.py?

Dne úterý, 16. července 2013 1:11:48 UTC+2 maiquel napsal(a):

    How to set up django on Apache

    I'm using django 1.4
    and apache 2.4
    and Python 2.7
    My configuration is well

    in httpd.conf

    WSGIScriptAlias ​​/ C :/ xampp / htdocs / My_blog / My_blog / wsgi.py
    WSGIPythonPath / C :/ xampp / htdocs / My_blog /

    <Directory C:/xampp/htdocs/meu_blog/meu_blog>
    <Files wsgi.py>
    Order deny, allow
    Allow from all
    </ Files>
    </ Directory>

    Does anyone know what is wrong?

--
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.



--
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to