You can remap this using routes.py

Details on how to use it is available here:
http://web2py.com/books/default/chapter/29/04#URL-rewrite

On Tuesday, November 20, 2012 9:44:37 PM UTC+8, Brian Blais wrote:
>
> Hello, 
>
> I was just started using web2py, and came across this organizational 
> question.  It seems as if the default application points to 
>
> http://127.0.0.1:8000/appname/default/index 
>
> why doesn't it point to: 
>
> http://127.0.0.1:8000/appname/index 
>
> Is there a reason to have the controllers all in default.py, or is there 
> some reason to have certain controllers in default.py and others not?  When 
> you want to point to your actual app, I will want to give a url that is 
> http://..../appname/ 
>
> not with the /default/ in it.  Is that remapped later? 
>
> thanks, and I hope this isn't too silly a question! 
>
>
>                 Brian Blais 
>
>
> -- 
> Brian Blais 
> [email protected] <javascript:> 
> http://web.bryant.edu/~bblais 
> http://brianblais.wordpress.com/ 
>
>
>
>

-- 



Reply via email to