Thank you ceej. This will be for a single app install. I found this
in the manual just now (I swear I looked before posting!):
routes_in=(
('/(?P<any>.*)','/init/\g<any>'),
)
routes_out=(
('/init/(?P<any>.*)','/\g<any>'),
)
It seems to be working as advertised.
Any drawbacks compared to your method?
On Jul 1, 9:56 pm, ceej <[email protected]> wrote:
> in your routes.py file, just add to routes.example.py and rename to
> routes.py.
>
> On Jul 1, 9:51 pm, "mr.freeze" <[email protected]> wrote:
>
> > Can I use routes.py to make my application run from:http://myserver
> > instead of:http://myserver/myapp
>
> > If not, can it be done another way? My domain name and app are the
> > same name so it ends up looking
> > weird:http://myweb2pyapp.com/myweb2pyapp(fakenames but hopefully you get
> > the idea)
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---