IIRC routes.py will work even if you go through apache, albeit without handling virtualhosts.
On Feb 23, 12:02 pm, cjparsons <[email protected]> wrote: > 1. One way is to use the routes.py script in the web2py directory to > rewrite URLs, assuming you are using web2py's built in web server. > There are instructions in the script. Ask here again if you're not > sure > > 2. All functions are exposed in controllers except: > - any function that takes an argument e.g. myfunc(key): > - a function that starts with a double underscore e.g. __myfunc(): > > Chris > On Feb 23, 10:40 am, Joseph Jude <[email protected]> wrote: > > > All, > > I'm just starting out with web2py. I have two questions: > > : the url is mapped out as /app/controller/function. so this looks > > like :http://domain/init/default/index. How to have url > > ashttp://domain/index? > > : as I understand from the docs, all functions in the controller > > (default.py) are exposed. is it possible to hide functions in the > > controller file or should I take such functions to another file? > > > Thank you, > > Joseph --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

