Do you using a windows ou linux? if it's linux, try: create a dir: /home/user/django and put your project inside it and create a file called mysite.wsgi in same dir containing:
import os, sys sys.path.append('/usr/lib/python2.6/site-packages/django/') sys.path.append('/home/user/myproject') os.environ['DJANGO_SETTINGS_MODULE']='myproject.settings' import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler() and modofy the apache configuration (I'm using ubuntu): # vim /etc/apache2/sites-enabled/000-default WSGIRestrictStdout Off <VirtualHost *:80> LimitInternalRecursion 1000 ServerAdmin webmas...@localhost ServerName localhost DocumentRoot /home/user/django/ ErrorLog /home/user/django/apache.log LogLevel warn AddHandler wsgi-script .wsgi <Directory "/home/user/django"> AllowOverride FileInfo Options ExecCGI MultiViews FollowSymLinks MultiviewsMatch Handlers Order deny,allow Allow from all </Directory> Alias /media/ "/home/user/django/myproject/media/" <Directory "/home/user/django/myproject/media/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order allow,deny allow from all </Directory> </VirtualHost> -- Gustavo Henrique http://www.gustavohenrique.net http://blog.gustavohenrique.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---