Look in web2py/examples/ parametric router file and set as default you
desired app :
routers = dict(
# base router
BASE=dict(
default_application='welcome',
),
)
Replace welcome by you app... Web2py should then load your app as default
and you can access it without the /application/default in the URL.
You can read the book section about that too should be documented in the
book.
Richard
On Wed, Jan 3, 2018 at 11:09 AM, jcrowe <[email protected]> wrote:
> Currently, my URLs look like:
>
> http://www.domain.com/application/default/
>
> Can anyone point me to instructions on how I can drop the /application/
> and only include the domain and controller?
>
> --
> 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.
>
--
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.