Postgresql and apache2 mod_wsgi
I've done this set up a 1000 times, new to digitalocean... I've set up a server with Django/posgresql/apache/mod_wsgi... I use pyscopg2 to connect to postgresql from django. Everything works fine execept I can't connect to postgresql when running under apache/mod_wsgi. I've been successful at running django app server and connecting to app locally with lynx. So issue is isolated to mod_wsgi... I have no idea why I can't connect I'm assuming it's permission to access postgresql socket ... but not sure... postgresql socket resides in /tmp.