Just try and complete to make a working installation and then try something
else... That what I suggest you.

Apache and web2py work pretty well under ubuntu and are maybe easier to
deploy because a lot of poeple are using this config so the installation is
automated by the script.

If as you said you executed the ubuntu web2py installation script and it's
still not working... You maybe need to have a look into postgresql
configuration files... Search in the web2py thread and I am sure you will
find a lot of advertisement of how to set basic conf for postgresql... You
will have also to create user for postgresql and then list the IP that can
connect to your postgres DB by default I think only localhost can connect
(127.0.0.1), so you will not be able to connect to your web2py app doesn't
matter if you have the IP adress of your Ubuntu server.

Finnaly the last thing to be carefull as Fabro were saying is the
permissions of your app when folder and subfolder and files... sudo -R
www-data.www-data YOURAPP from /home/www-data/web2py/applications/ folder
should do the tricks. The installation ubuntu web2py script should have
create /home/www-data/web2py... Then you just have to copy you app
recursively into the applications folder and set the permissions... That
come at the end when you have set the progres config properly to be able to
connect on it with pgAdmin and have a web2py app able to create a database
in in.

Hope it helps

Richard

On Wed, Sep 21, 2011 at 10:35 AM, Web2Py Freak
<[email protected]>wrote:

> what if i want to use fastCGI and postgresql  and i installed
> everything but how can i  have a web2py folder with my app in it the
> uses fCGI and Postgresql and ready to use by a python host ???
>

Reply via email to