http://blog.stannard.net.au/2010/12/11/installing-django-with-apache-and-mod_wsgi-on-ubuntu-10-04/
pero el problema es que apache me da este error
Syntax error on line 11 of /etc/apache2/sites-enabled/sites-available/hello:
Name duplicates previous WSGI daemon definition.
Este es mi virtual host
Código:
si le quito la linea<VirtualHost *:80> ServerName hello.djangoserver DocumentRoot /home/pavel/hello <Directory /home/pavel/hello> Order allow,deny Allow from all </Directory> WSGIDaemonProcess hello.djangoserver processes=2 threads=15 display-name=%{GROUP} WSGIProcessGroup hello.djangoserver WSGIScriptAlias / /home/pavel/hello/apache/django.wsgi </VirtualHost>
WSGIDaemonProcess hello.djangoserver processes=2 threads=15 display-name=%{GROUP}
me da esto
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
cuando corro
http://hello.djangoserver/
El URL solicitado no se ha podido conseguir
PD: uso ubuntu 10.04