I will show what I use in routes.py I have:
routes_in = (
#('/admin/(.*)', '/admin/$1'),
('(.*):https?://(www\.)?site1\.com:(.*)/', '/site1/'),
('(.*):https?://(www\.)?site2\.com:(.*)/', '/site2/'),
)
after you change routes.py you need to restart your server (apache, or
whatever you use)
if you use uwsgi and started it with touch-reload option you only need to
touch the file that you passed
touch tmp/uwsgireload.txt
if you need more
http://web2py.com/books/default/chapter/29/4#URL-rewrite

