El 25/02/15 12:19, dk escribió:
thanks guys, I installed Apache and I am setting everything, does my project really need to be in /etc/www/

No. It's even not recommended.
or I can put anywhere in the computer? just making sure the apache.conf point to that address?



   Basic configuration

Once you’ve got mod_wsgi installed and activated, edit your Apache server’s httpd.conf file and add the following. If you are using a version of Apache older than 2.4, replace Require all granted with Allow from all and also add the line Order deny,allow above it.

WSGIScriptAlias  //path/to/mysite.com/mysite/wsgi.py
WSGIPythonPath  /path/to/mysite.com

<Directory  /path/to/mysite.com/mysite>
<Files  wsgi.py>
Require  all  granted
</Files>
</Directory>

Cheers,
Felix.

--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/54EE1700.2060401%40epepm.cupet.cu.
For more options, visit https://groups.google.com/d/optout.

Reply via email to