Implementación de la aplicación django en Apache mod_python
He terminado de hacer un sitio en django llamado 'kazbah', y estoy tratando de implementarlo.
Todo el código del sitio kazbah está en / home / git / DjangoProjects / kazbah y mi httpd.conf se ve así:
<Location "/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE kazbah.settings
PythonDebug On
PythonPath "['/home/git/DjangoProjects'] + sys.path"
</Location>
Me sale el siguiente error:
ImportError: No se pudo importar la configuración 'kazbah.settings' (¿Está en sys.path? ¿Tiene errores de sintaxis?): Ningún módulo llamado kazbah.settings
¿Alguna idea de por qué este novato está fallando?