Hi!
I am installing the Django (with mod_wsgi) on Debian 6. I followed the
Django installation guide, but after restarting apache I got
Code:
Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
error.
When I try the address (lets say, foo.lv) in browser - i get error 500 (internal server error), but the last messages in apache error log are like this:
Code:
[Thu Feb 17 10:33:05 2011] [notice] caught SIGTERM, shutting down
[Thu Feb 17 10:33:06 2011] [notice] Apache/2.2.16 (Debian) mod_wsgi/3.3 Python/2.6.6 configured -- resuming normal operations
The file in /etc/apache2/sites-available/foo.lv looks exactly like the one in tutorial (with the correct folders).
My /etc/hosts looks like this:
Code:
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Do I need to add some extra lines to /etc/hosts? If so, what is the right syntax? Or something else is wrong here?
Thanks in advance!
UPDATE: I did a VM rebuild, started all from scratch (carefully reading the docs) and now it works
