are you using some url rewrite facility ?

On Monday, September 1, 2014 8:43:02 PM UTC+2, Gael Princivalle wrote:
>
> Hello all.
>
> I've got a strange error with my menu.
> If I set an URL in my menu to a page name that's have the same name as my 
> domain name, web2py add default to my URL.
>
> For example:
>
> response.menu = [
>     (T('Home'), False, URL('default', 'index'), []),
>     (T('Contacts'), False, URL('default', 'contacts'), []),
>     (T('Mydomain'), False, URL('default', 'mydomain'), []),
> ]
>
> For Contacts URL will be:
> mydomain.com/contacts
>
> For Mydomain URL will be:
> mydomain.com/default/mydomain
>
> Is there a solution (of course I can change the page name to something 
> else than the domain name...) ?
>
> Thanks, regards.
>
>
>
>

-- 
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