<?php return array( array( 'regexp'=>'/hello(\d+)(\w+)/', 'controller'=>'index', 'action'=>'aaa', 'params'=>array('id','name'), ), array( 'regexp'=>'/one(\d+)(\w+)/', 'controller'=>'index', 'action'=>'index', 'params'=>array('id','name'), ), ); this is the standard format,so easy?