What I'm trying to do is to have my application serve 2 different customers 
via URLs like the following:

http://127.0.0.1:8000/sam/client1/<appname>/default/index
http://127.0.0.1:8000/sam/client2/<appname>/default/index


My routes.py looks like:

routes_in =  (

              ('/sam/client1/$a/$c/$f', '/$a/$c/$f'), (
'/sam/client2/$a/$c/$f', '/$a/$c/$f')

             )


routes_out = (

              ('/$a/$c/$f', '/sam/client1/$a/$c/$f'), ('/$a/$c/$f', 
'/sam/client2/$a/$c/$f')

             )


This works great for client1.  The minute I use client2 the links use 
client1 mappings in the URL.  I'm using the URL function for all my links. 
 Any ideas what I'm doing wrong?  Perhaps this is an issue with web2py? 
 Please advise.


Thanks in advance!
M.G.

-- 
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