I'm going through this exact thing at the moment. I was wondering if it was because I am testing out the dev version of web2py, but I guess not. If I click the "reload routes" link on the main admin page it works. At least temporarily - I'm experiencing some strange behaviour. I know I have to click the button every time I restart uwsgi. Let me know if you figure anything out.
On Saturday, July 21, 2012 12:16:28 PM UTC+1, Alec Taylor wrote: > > Does uWSGI work with routes.py? > > The section in chapter 1 of the "web2py Application Development Cookbook" > didn't mentioned routes... > > But when I copied my routes.py over and started the uWSGI server, I became > unable to get to any page apart from the `/admin/` ones. I couldn't even > access the welcome app! > > FYI: Here is my routes.py - http://pastebin.com/KuVAgiCR > > (I plan on changing that routes even further, see: > https://groups.google.com/forum/#!topic/web2py/Zmzo3BeQQ7g for my plans) > > How do I get routing to work properly with uWSGI? > > Thanks for all suggestions, > > Alec Taylor > --