as a side note, when going to domain.dev, it does change the path to domain.dev/welcome/default/index
On May 11, 11:56 pm, luckysmack <luckysm...@gmail.com> wrote: > Im trying to setup web2py with fcgi on cherokee. At one point it > worked (last night after i spent a few hours trying to get it to work. > and after i saw the screen went to sleep). But today when i try to use > it its not working again. But now I cant get it to work whatsoever. > > i have a fresh installation of cherokee of 1.2.2 from the ubuntu > (natty) repos using apt. I followed the guide > herehttp://www.web2py.com/book/default/chapter/11#Cherokee-with-FastGGI > to get it working in the first place. But still cant get it to work. > My web2py source is exactly as it tells to setup. > > /srv/sites/domain.dev/public/startweb2py.sh > > #!/bin/bash > cd /srv/sites/domain.dev/public > python /srv/sites/domain.dev/public/fcgihandler.py & > > The only handler I have in my vhost is 'default' > > Handler: FastCGI > Document Root: [blank] > Script Alias: [blank] > Error Handler [X] > Check File [ ] > Pass request Headers [X] > Allow X-Sendfile [ ] > Read X-Real-IP [ ] > No custom env variables > Balancer: Round Robin > Inof Sources web2py [/tmp/fcgi.sock] > > Now the domain vhost itself, is named 'domain.dev' (i like to use > *.dev domains for local testing. better than just localhost) and has a > host match also ofwww.domain.dev > document root: /srv/sites/domain.dev/public > directory indexes: index.html > > everything else in there shouldnt matter. from what i can tell. > running web2py with rocket works perfectly fine. But the only thing > that loads is 'invalid request' and nothing shows in the error log. Im > not sure what else I can check. this is my first time using fcgi. I > was also looking at trying wsgi as theres a stup in cherokee for wsgi > but i didnt find any articles on how to run it like that. and I > thought fcgi would be better performance wise. But im not sure. > > Any help would be appreciated.