Sorry Dave for my bad English. You've understand exactly what I was saying, also if I'm confused, thanks.
I'm still making the same test on another application in another web2py installation with a different domain.com, Problems are still the same. Anyway I'm gone use the "init" application name, that's the better solution for the moment, I don't want to add a new voice in the routes.py file any time I will add a new page. Thanks for your help. Il giorno martedì 26 novembre 2013 21:07:47 UTC+1, Dave S ha scritto: > > On Tuesday, November 26, 2013 8:51:45 AM UTC-8, Gael Princivalle wrote: >> >> It's really strange. >> >> I've try this example from the manual: >> routes_in = ( >> ('/testme', '/examples/default/index'), >> ) >> routes_out = ( >> ('/examples/default/index', '/testme'), >> ) >> >> On the first time I load >> www.mydomain.com<http://www.google.com/url?q=http%3A%2F%2Fwww.mydomain.com&sa=D&sntz=1&usg=AFQjCNGAaGH_NMwPluEnZ5Ra7_1AuZfCoQ>I've >> examples application on root, >> > and if I click on some menu items I turn back on >> www.mydomain.com/examples/default/download<http://www.google.com/url?q=http%3A%2F%2Fwww.mydomain.com%2Fexamples%2Fdefault%2Fdownload&sa=D&sntz=1&usg=AFQjCNGIYoXId_BqwIKDy9QC-sMDrApjDg>. >> > > I'm sorry, I'm having trouble understanding this statement. "I turn back" > is confusing me ... are you saying that the link takes you to the URL " > .../default/download" ? > > (your routes.py appears to be only translating default/index -- did you > want default/download translated as well?) > > > If I turn back on root it turn back like before, >> www.mydomain.com/welcome/default/index<http://www.google.com/url?q=http%3A%2F%2Fwww.mydomain.com%2Fwelcome%2Fdefault%2Findex&sa=D&sntz=1&usg=AFQjCNG3FIdXmu49xYUuGod8DfZ_hb_WYQ> >> > > I think you're using "turn back" in 2 different ways here ... "turn back > on root" suggests to me that you are using the browser "back" button to try > to get to ".../testme", > and then "turn back like before" to indicate the URL shows as > "default/index". > > Am I close to understanding you? > > /dps > > >> >> >> Really strange. >> >> Of course >> www.mydomain.com/testme<http://www.google.com/url?q=http%3A%2F%2Fwww.mydomain.com%2Ftestme&sa=D&sntz=1&usg=AFQjCNHYsJmfM259bUsd_Kz0xad0ax74pA>turn >> back "invalid request". >> >> Could I have any help on this topic ? >> >> Thanks. >> >> Il giorno lunedì 25 novembre 2013 09:27:52 UTC+1, Gael Princivalle ha >> scritto: >>> >>> For example I've got 3 stupid pages exactly the same, 2 pages are ok but >>> for one I have an "invalid request". I turn back to pages that were ok and >>> I have again "Invalid request". >>> I've try also renaming myapp in init but in the path I've got >>> www.mydomain.com/init/default/page<http://www.google.com/url?q=http%3A%2F%2Fwww.mydomain.com%2Finit%2Fdefault%2Fpage&sa=D&sntz=1&usg=AFQjCNEFDsi4yiMy6Im6xBTXc_n2qgzQvw>, >>> too bad. >>> >>> Any solution ? >>> >>> Il giorno domenica 24 novembre 2013 23:04:26 UTC+1, Jonathan Lundell ha >>> scritto: >>>> >>>> On 24 Nov 2013, at 1:21 PM, Gael Princivalle <gaelpri...@gmail.com> >>>> wrote: >>>> >>>> I've got a domain that is on Webfaction, with a web2py app. >>>> I just want to have my app on the domain root. >>>> Now I have: >>>> https://www.mydomain.com/myapp/default/index<https://www.google.com/url?q=https%3A%2F%2Fwww.mydomain.com%2Fmyapp%2Fdefault%2Findex&sa=D&sntz=1&usg=AFQjCNGSXhjuzW5iDqORpWZliHHHpwnYLA> >>>> I would like to see my app on : >>>> https://www.mydomain.com<https://www.google.com/url?q=https%3A%2F%2Fwww.mydomain.com%2F&sa=D&sntz=1&usg=AFQjCNF6xvLmWSuLSRX5NWjK12L_MqbUng> >>>> >>>> I've read that: >>>> http://web2py.com/book/default/chapter/04#Parameter-based-system<http://www.google.com/url?q=http%3A%2F%2Fweb2py.com%2Fbook%2Fdefault%2Fchapter%2F04%23Parameter-based-system&sa=D&sntz=1&usg=AFQjCNGcjzvzp1eHksIlNqI9tuVcAv9arQ> >>>> >>>> and put a router.py file in my web2py folder with: >>>> routers = dict( >>>> BASE = dict(default_application='myapp'), >>>> ) >>>> >>>> Sometimes it works, and sometimes not, admin is ko. >>>> >>>> Someone can help me ? >>>> >>>> >>>> Can you be more specific? In particular, a specific example of what it >>>> does when it doesn't work. >>>> >>> -- 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/groups/opt_out.