Hello, This works fine:
uwsgi --pythonpath /var/web2py --module wsgihandler -s /tmp/ we2py.sock --http :9090 If I point to localhost:9090 works ok and I see the welcome application. After that: If I make a config.xml file as is described on http://projects.unbit.it/uwsgi/wiki/Example and I try with the virtualserver wizard to creat a uWSGI server I get the following error: /var/web2py/config.xml seems not to be a valid uWSGI xml configuration file. To get these step ok my config.xml file has to be the same as this: <uwsgi> <pythonpath>/var/web2py/</pythonpath> <app mountpoint="/"> <script>wsgihandler</script> </app> </uwsgi> With this I "unterstand" that the new virtual server (called web2py) is working because it's active and there is a green circle near the name of the virtual server. On the sources section, cherokee has created a new source with nick is uWSGI 1 On the interpreter box the following: /usr/local/bin/uwsgi -s 127.0.0.1:57527 -t 10 -M -p 1 -C -x /var/web2py/config.xml -H /var On connection box: 127.0.0.1:57527 and Inherit Environment is enabled. With all of this if I point to localhost...I get the cherokee test page and not the welcome application. Anyone has any idea? Thanks in advance On 9 sep, 15:30, Jose <jjac...@gmail.com> wrote: > On 9 sep, 07:42, salbefe <salb...@gmail.com> wrote: > > > Hello, > > > I'm trying to deploy web2py with cherokee on a fedora core 13 distro > > but I have several problems on it. I have read the slice web2py with > > Cherokee via uWSGI: a simple, easy guide that it could be found in > > web2pyslices but this guide is outdated because it seems to be done > > for an older cherokee version than 1.X.X. Current cherokee version is > > 1.0.8 > > > Some things are not clear to me: > > > 1.- For example where should be web2py: on /var/web2py or /var/www/ > > web2py. After reading the slice it seems that it should be on /var/ > > web2py. > > This should not be important, I have it in /home/web2py > > > 2.- www-data user does not exist on fedora distro so where it says > > "sudo chown -hR www-data\: /var/web2py" I did "sudo chown -hR root\: / > > var/web2py" > > in my case (freebsd), user=www and group=www > > > 3.- Its impossible to follow steps E throught G because options > > described there does not exists anymore in cherokee admin interface > > and I could not find other places where they could be. > > GUI has changed but little, are looking to see that things are in the > new user interface. > > > The same problem with the steps that are on the online book to setup > > cherokee with fastcgi interface. The steps described there should be > > now a bit different to setup web2py with cherokee. > > FastCGI is similar to uwsgi. But I think the problem is that the GUI > was changed in Cherokee. > > > I need some help, please. > > In a few days I can write as I have configured my server, including > screenshots of the new GUI Cherokee > > Regards, > Jose