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 I've examples application on
root, and if I click on some menu items I turn back on
www.mydomain.com/examples/default/download .
If I turn back on root it turn back like before,
www.mydomain.com/welcome/default/index
Really strange.
Of course www.mydomain.com/testme 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 <[email protected]>
>> 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.