Moving Legacy Url With Urlmanager

Hi. I need to replace a legacy url to a controller/action in Yii.

So say I have:

and I need to serve this path by yii’s

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

then it doesn’t work anymore!

Any idea why? and how I can fix it?


that’s not problem with urlManager

what var_dump($_GET) shows?

you’re right, it was loading the https controller despite the action was coming from an http request, so I got puzzled.