Wednesday, May 9, 2007

Fixed Django Powered Blog

OK, I figured out the problem with my Django powered blog. The new pg_hba.conf file had stricter permissions for local users. I had to change it from "ident sameuser" to "trust" and then my django app could connect to the database. I also had to make sure, after editing it as root, that the pg_hba.conf file was writable by the postgres user. Then I could /etc/init.d/postgresql-8.2 restart successfully, and everything works again. Oh wait, my php photo gallery is still down. Grrr!

No comments: