How should I construct Director:addRules(); like :
Director::addRules(10, array(
'/$Action/$ID/$OtherID/$Region/$Country/$City' => 'SearchPage_Controller',
));
So I can use (also with nested urls enabled):
http://www.domain.com/home/{$someURLSegment}/{$someAction}/id/otherid/region/country/city/
When I add the above rules I get the error:
[User Warning] popCurrent called on ModelAsController controller, but it wasn't at the top of the stack