(this regards to infogami which built on top of web.py) here is my problem. the database I am using is postgresql (8.2) (template1, postgres) therefore my db_parameters looks like: db_parameters = dict(dbn='postgres', db="mydb", user='postgres', pw='mypassword') therefore in order to use the built-in web server I have to type sudo -u postgres python code.py
Yet, I want to switch from web.py web server to lighttpd. my question is then, how to I make lighttpd run code.py under postgres user. since the default configuration as described in the site yields to "404 - not found" running lighttpd after replacing this code.py with a plain hello world one works fine (plain = one that not accessing the database). at the same time running sudo -u postgres python code.py works fine as well. anybody can share the experience with postgres+webpy+lighttpd? PS at the bottom of pg_hba.conf I added a line which looks like local mydb postgres mypassword --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
