I've got a situation where I want to point all the requests to any subdomain on the site pointing to a module of the site.
So, basically if the request is domain.com - don't use the module and if it is *.domain.com, use the module
Any ideas how I would go about setting that up ? Would something like this work in Routes.cfm?
<cfset addModuleRoutes(pattern="*.domain.com", module="SubdomainModule")>
Thanks in advance,
patterns look at cgi path info by default. If you want it to search something else, then you would need to do a provider function yourself to return what you need parsing.
Luis F. Majano
Ortus Solutions, Corp
ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
IECFUG Manager: http://www.iecfug.com
Social: twitter.com/lmajano facebook.com/lmajano