I use autoroutes in routes.py

You need routes.conf
http://snipt.net/rochacbruno/routesconf/

In the above file replace with your domain and your app.
127.0.01.1 /yourapp/default
yourdomain.com /yourapp/default

<http://snipt.net/rochacbruno/routesconf/>and routes.py
http://snipt.net/rochacbruno/routespy/

with the example above you get rid of the app name, so
yourapp.com/indexwill call yourapp,com/default/index

if you just need to your app to be the default, you can simply rename the
app folder to "init"
<http://snipt.net/rochacbruno/routespy/>
--
Bruno Rocha
http://about.me/rochacbruno/bio


2011/2/13 stargate <[email protected]>

> I was wondering how do I configure routes.py so that my application
> myapp works like this
>
> when i type www.myapp.com it will go to that web2py application.  I
> know in windows i can edit the host file in windows but I want it to
> go directly to my application.  All of my paths are absolute paths
>
>
>

Reply via email to