[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] Re: Issue with WSGI and Apache2 config
From: |
David MENTRE |
Subject: |
[Maposmatic-dev] Re: Issue with WSGI and Apache2 config |
Date: |
Wed, 16 Dec 2009 20:28:15 +0100 |
2009/12/16 David MENTRE <address@hidden>:
> I'm trying to install maposmatic on an Ubuntu Karmic machine.
> Apparently no issue until ocitysmap and the rendering of Sanguinet.
> However, the web interface does not work. After configuring WSGI & Co,
> I have:
> """
> 403 Forbidden
Ok, found it. User www-data could not access my home directory
/home/david, even if the access rights are correct. This is probably
due to the use of encrypted directory in Karmic.
I moved the whole code to /usr/local to avoid this issue.
But now I have another configuration issue, this time related to
ocitysmap.coords which is not seen:
[Wed Dec 16 20:17:34 2009] [error] [client 127.0.1.2] File
"/usr/local/maposmatic/maposmatic/www/maposmatic/views.py", line 41,
in <module>
[Wed Dec 16 20:17:34 2009] [error] [client 127.0.1.2] from
ocitysmap.coords import BoundingBox as OCMBoundingBox
[Wed Dec 16 20:17:34 2009] [error] [client 127.0.1.2] ImportError: No
module named ocitysmap.coords
I have an /etc/ocitysmap.conf correctly configured and ocitysmap works
when called in command line.
I have a correctly configured maposmatic/www/settings_local.py where there is:
OCITYSMAP_CFG_PATH = '/etc/ocitysmap.conf'
Any idea of what I might have overlooked?
Regards,
d.