Jonah,
The easiest way to do this by customizing the PathInfoProvider( event ) method in your config/Routes.cfm.
Then you can detect the inbound subdomain and prepend the module assignment to the route string.
Example:
function PathInfoProvider(Event){
var pathArray = listToArray( CGI.PATH_INFO, "/" );
switch( CGI.SERVER_NAME ){
case "my.sub.domain.com":{
arrayPrepend( pathArray, "myModuleEntryPoint" );
break;
}
}
return arrayToList( pathArray, "/" );
}
HTH,
Jon
--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit
https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/coldbox/77dd8d0d-e90f-4150-a613-ae6946790722%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.