Index: network-servers/chapter.xml =================================================================== --- network-servers/chapter.xml +++ network-servers/chapter.xml @@ -4633,15 +4633,15 @@ add the following entries to httpd.conf: - <VirtualHost *> -ServerName www.domain.tld -DocumentRoot /www/domain.tld + <VirtualHost *> + ServerName www.domain.tld + DocumentRoot /www/domain.tld </VirtualHost> <VirtualHost *> -ServerName www.someotherdomain.tld -DocumentRoot /www/someotherdomain.tld -</VirtualHost> + ServerName www.someotherdomain.tld + DocumentRoot /www/someotherdomain.tld +</VirtualHost> For each virtual host, replace the values for ServerName and @@ -4859,7 +4859,7 @@ httpd.conf, specifying the full path to the project directory: - <Location "/"> + <Location "/"> SetHandler python-program PythonPath "['/dir/to/the/django/packages/'] + sys.path" PythonHandler django.core.handlers.modpython @@ -4866,7 +4866,7 @@ SetEnv DJANGO_SETTINGS_MODULE mysite.settings PythonAutoReload On PythonDebug On -</Location> +</Location> Refer to https://docs.djangoproject.com/en/1.6/