Currently I've been trying to run a website on Ubuntu using Apache2, but I've encountered a problem. The website is named Indivo, and has Python files.
I've set up system according to instructions, but when running Apache:
$ sudo service apache2 restart
I get this line and the site doesn't start:
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting [Wed Aug 04 13:12:01 2010] [warn] module wsgi_module is already loaded, skipping
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
The Apache config file (in /etc/apache2/sites-enabled/default) is like this:
<VirtualHost *:8000>
ServerAdmin [email protected]
ServerName www.indivo.dal.ca
DocumentRoot /usr/indivo_server
Alias /static/ /usr/indivo_server/static/
EnableMMAP On
EnableSendfile On
LogLevel warn
<Directory /usr/indivo_server>
Order deny,allow
Allow from all
</Directory>
WSGIDaemonProcess indivo user=ehsan group=ehsan processes=1 maximum-requests=500 threads=10
WSGIScriptAlias / /usr/indivo_server/django.wsgi
WSGIPassAuthorization On
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName www.indivo.dal.ca
DocumentRoot /usr/indivo_ui_server
Alias /static/ /usr/indivo_ui_server/ui/static/
EnableMMAP On
EnableSendfile On
LogLevel warn
<Directory /usr/indivo_ui_server>
Order deny,allow
Allow from all
</Directory>
WSGIDaemonProcess indivo_ui user=ehsan group=ehsan processes=1 maximum-requests=500 threads=10
WSGIScriptAlias / /usr/indivo_ui_server/django.wsgi
WSGIPassAuthorization On
</VirtualHost>
Do you have any ideas about this issue?
Thank you
Ehsan