Look at the routes.py in chapter 4 of the book.
I just did it this morning and it work using the that latest version of
web2py
(Know that you have to name the file routes.py even though its in the
router.py.example; and you might think to name it router.py and thus
think it does not work.)
I think it says in the book it is interchangeable;
On 3/22/11 2:17 PM, Ross Peoples wrote:
I tried this once and it failed terribly. I would also like to know
how this would work.
On Mar 22, 6:12 pm, Keith Pettit<keith.pet...@prodesy.com> wrote:
Web2py works great for me through Apache and mod_wsgi. All seems fast and
clean. But now that I'm creating multiple web2py applications. How can I
deploy multiple web2py applications as separate virtualhosts?
Basically I want to do something like:
app1.mydomain.com goes to App1
app2.mydomain.com goes to App2
etc
Normally in Apache I would create separate virtualhost directives and point
them to the directory where the code is. But I wasn't sure how to do that
with web2py without copying the entire web2py directory and renaming the
application I want to show as "init". What's the best way to do things when
you need to update code and develop frequently?
Thanks,