Theorically that should do the trick, and mywebsite.com should load your 
index page. Just silly question, do you have index.html and def index():

Btw, maybe you are checking in it in no-local server (i mean 'live' server, 
internet server, or whatever is called), and you are using the general 
template layout (which is not allowed in no-local server)... check if it 
works local, and if it works local and not in your 'live' server 99% is due 
to you are using the general template layout. Just create a index.html




El martes, 27 de mayo de 2014 00:08:20 UTC+2, Jesse Ferguson escribió:
>
> I deployed my app using the nginx script and created a routes.py file like 
> so:
>
> # -*- coding: utf-8 -*-
>>
>>
>>> routers = dict(
>>
>>     BASE = dict(
>>
>>         default_application='myapp', )
>>
>> )
>>
>>
>>
> However when i go to mywebsite.com  i get 
> "invalid request" 
>
> but mywebsite.com/myapp  loads the application... how can i change this 
> behavior so the application is at the domains root ie: mywebsite.com?
>
>
>
>

-- 
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/d/optout.

Reply via email to