Mod_python error: "PythonHandler django.core.handlers.modpython"

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
    result = object(req)

  File "/opt/cloodon/django/django/core/handlers/modpython.py", line 228, in handler
    return ModPythonHandler()(req)

  File "/opt/cloodon/django/django/core/handlers/modpython.py", line 191, in __call__
    self.load_middleware()

  File "/opt/cloodon/django/django/core/handlers/base.py", line 33, in load_middleware
    for middleware_path in settings.MIDDLEWARE_CLASSES:

  File "/opt/cloodon/django/django/utils/functional.py", line 276, in __getattr__
    self._setup()

  File "/opt/cloodon/django/django/conf/__init__.py", line 40, in _setup
    self._wrapped = Settings(settings_module)

  File "/opt/cloodon/django/django/conf/__init__.py", line 73, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)

  File "/opt/cloodon/django/django/utils/importlib.py", line 35, in import_module
    __import__(name)

  File "/opt/cloodon/site/settings.py", line 8, in ?
    filemode = 'a+'

  File "/usr/lib/python2.4/logging/__init__.py", line 1218, in basicConfig
    hdlr = FileHandler(filename, mode)

  File "/usr/lib/python2.4/logging/__init__.py", line 757, in __init__
    stream = open(filename, mode)

IOError: [Errno 13] Permission denied: '/tmp/cloodon.log'