On Aug 31, 2011, at 1:50 PM, Andrew Evans wrote: > Hey well for some reason its working now *confused
Keep in mind that you need to restart web2py (or at least reload the router configuration) for changes to take effect. That can be confusing, too. > > Anyway I won't complain ty for the advice > > This is a great forum :-) > > On Wed, Aug 31, 2011 at 1:36 PM, Jonathan Lundell <jlund...@pobox.com> wrote: > On Aug 31, 2011, at 12:06 PM, Andrew Evans wrote: > >> Hello I have the following in my routes.py file but its not mapping the >> second domain to the web2py project any ideas whats up? >> >> routers = dict( >> >> # base router >> BASE = dict( >> default_application = 'cheer10s', >> domains = { >> 'cheer10s.com' : 'cheer10s', >> 'kidify.org' : 'kidify' >> }, >> applications = ['cheer10s','kidify','admin'], >> controllers = 'DEFAULT' >> ), >> ) > > If you turn off routing, can you get to web2py via kidify.org? The router can > only route requests that get to web2py in the first place. >