Use multiple routing files.
## Default rules ===============================================================
homepage:
url: /
param:
module: home
action: index
sf_format: html
<?php foreach(glob(dirname(__FILE__).DIRECTORY_SEPARATOR.'routing'.DIRECTORY_SEPARATOR.'*.yml') as $yml){ require($yml); echo "\n"; } ?>