Welome,

I have a new site configured and the routing behaviour is non-deterministic 
and in many cases wrong.

The defaut application is init. There is a pattern based routes.py created 
but only rewriting static resources (robots, favicon, sitemap).

The site address is http://www.gamelingua.com. I am using URL helper to 
create URL-s in the views.

Example of the problem:

   - Correct behaviour (70% of cases): when I enter/refresh the main page 
   and select 'Contact' link, it points out correctly to the 
   address: http://www.gamelingua.com/init/default/contact
   - Wrong behaviour (30% of cases): when I enter the main page/refresh and 
   select 'Contact' link, it points out to the uncomplete 
   address: http://www.gamelingua.com/default/contact. Clicking on it returns 
"invalid 
   request" error.

It seems like sometimes web2py is aware about the default application and 
sometimes not.

Could you help?


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to