All pastes #403684 Raw Edit

Untitled

public text v1 · immutable
·published 2007-03-20 15:47 UTC
rendered paste body
<VirtualHost *:80 >

 ServerName flowerhour.biz
 SetHandler mod_python
 PythonPath "['/home/babo/django'] + sys.path"
 PythonHandler django.core.handlers.modpython
 SetEnv DJANGO_SETTINGS_MODULE flowerhour/settings.py

  <Location "/media/">
   SetHandler None
   Options None
  </Location>

</VirtualHost>


[Tue Mar 20 10:53:10 2007] [error] [client 194.125.54.180] PythonHandler django.core.handlers.modpython:   File "/usr/lib/python2.3/site-packages/mod_python\
/apache.py", line 299, in HandlerDispatch\n    result = object(req)
[Tue Mar 20 10:53:10 2007] [error] [client 194.125.54.180] PythonHandler django.core.handlers.modpython:   File "/usr/lib/python2.3/site-packages/Django-0.9\
5.1-py2.3.egg/django/core/handlers/modpython.py", line 163, in handler\n    return ModPythonHandler()(req)
[Tue Mar 20 10:53:10 2007] [error] [client 194.125.54.180] PythonHandler django.core.handlers.modpython:   File "/usr/lib/python2.3/site-packages/Django-0.9\
5.1-py2.3.egg/django/core/handlers/modpython.py", line 125, in __call__\n    if settings.ENABLE_PSYCO:
[Tue Mar 20 10:53:10 2007] [error] [client 194.125.54.180] PythonHandler django.core.handlers.modpython:   File "/usr/lib/python2.3/site-packages/Django-0.9\
5.1-py2.3.egg/django/conf/__init__.py", line 27, in __getattr__\n    self._import_settings()
[Tue Mar 20 10:53:10 2007] [error] [client 194.125.54.180] PythonHandler django.core.handlers.modpython:   File "/usr/lib/python2.3/site-packages/Django-0.9\
5.1-py2.3.egg/django/conf/__init__.py", line 54, in _import_settings\n    self._target = Settings(settings_module)
[Tue Mar 20 10:53:10 2007] [error] [client 194.125.54.180] PythonHandler django.core.handlers.modpython:   File "/usr/lib/python2.3/site-packages/Django-0.9\
5.1-py2.3.egg/django/conf/__init__.py", line 82, in __init__\n    raise EnvironmentError, "Could not import settings '%s' (Is it on sys.path? Does it have s\
yntax errors?): %s" % (self.SETTINGS_MODULE, e)
[Tue Mar 20 10:53:10 2007] [error] [client 194.125.54.180] PythonHandler django.core.handlers.modpython: EnvironmentError: Could not import settings 'flower\
hour/settings.py' (Is it on sys.path? Does it have syntax errors?): No module named flowerhour/settings.py