You can in the pattern based routes system:
routes_in = [
('.*http://\w+\.myserver.com /', 'myapp/default/index')
]
On Thursday, 12 March 2015 18:01:58 UTC-5, Francisco Costa wrote:
>
> I don't think so, but would love to have something like this in Parameter
> Based System
>
> domains = {"*.myserver.com": "myapp/controller/function/*"}
>
> On Wednesday, 30 May 2012 22:23:50 UTC+1, pbreit wrote:
>>
>> Is it possible to wildcard the sub-domain of a domain mapping route?
>>
>> Ex: domains = {"*.myserver.com": "myapp"}
>>
>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.