For one, that regex doesn't look right since there is no . in the front of 
blog.test.com

Also, you should be able to do it with domains like this:

     domains = {   "blog.domain.com" : "blog"                },

More info:
http://code.google.com/p/web2py/source/browse/router.example.py

Reply via email to