On Wednesday, May 25, 2016 at 6:10:02 AM UTC-7, Rahul wrote:
>
> Hi All,
>        I have successfully deployed web2py with modwsgi and Apache on 
> CentOS6.7. When I access my site, by default it shows  - 
> http://www.mysite.in/welcome/default/index . Can anyone help on below 
> items - 
> 1. How to change site to show something like by default -  
> http://www.mysite.in/*myapplication*/default/index  instead of using the 
> welcome app , here [*myapplication/default/index*] these need to be 
> hidden using *routes.py*. 
>


The example routes.py shows setting the default application, somewhere 
around line 100 (in the parametric example).  Change this to myapplication.

2. What's the simplest way here for using routes.py. Also *if supported by 
> web2py can this be done using routes.py at application level (if there 
> exists something like that in web2py) or we have to use *global routes.py 
> (that is the one in web2py directory. Please let me know. Thanks!
>
> Rahul. 
>

In the book, at
<URL:http://web2py.com/books/default/chapter/29/04/the-core#URL-rewrite>
it discusses application-level routes.py, but points out that that requires 
the global routes.py

/dps
 

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to