Hi. I need to replace a legacy url to a controller/action in Yii.
So say I have:
http://domain.com/utilz/pingme.php?whoami=AABB
and I need to serve this path by yii’s
http://wifinext.internavigare.com/mycontroller/ping/?whoami=AABB
I added this into urlManager’s rules:
'/utilz/pingme.php' => 'hotspot/ping/',
This rule works great for the example above, but if I add a dash to the parameter
http://domain.com/utilz/pingme.php?whoami=AA-BB-CC
then it doesn’t work anymore!
Any idea why? and how I can fix it?
thanks