URL Rules - Specifying route to module in hostname

Hi there,

I am trying to implicitly load the correct route based on the module specified in the hostname. However Yii seems to be loading the module in the application::runController method. My urlRule looks like this :




'urlManager'=>array(

			'urlFormat'=>'path',

			

			'rules'=>array(

				'http://test.<module:\w+>.org/<controller:\w+>/<action:\w+>'=>'<module>/<controller>/<action>',

				 

			),

		),




Does this look correct? The module does otherwise load ok if I remove the ruleā€¦

Cheers !