Here problem is with encrypt code in the url,
My url is this and encrypt code is at the last:
http://localhost/php_pro_106/reload/ByCustomer/mJYwIzoaIGe0R8lAVCqPhG%2Fg0jJFWjiWWdPnkq5VDlY%3D
In main.php Url settings:
'urlManager'=>array(
'urlFormat'=>'path',
'showScriptName' => false,
'caseSensitive'=>false,
'rules'=>array(
'giftcard/<id:\w+>'=>'giftcard/index',
'reload/ByCustomer/<giftcode:\w+>'=>'reload/ByCustomer',
'<controller:\w+>/<id:\d+>'=>'<controller>/view',
'<controller:\w+>/<action:\w+>/<id:\w+>'=>'<controller>/<action>',
'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
),
),
my action is in reload controller:
public function actionByCustomer()
{
echo "test";
print_r($_GET);
}
I am getting:
The requested URL /localhost/reload/ByCustomer/mJYwIzoaIGe0R8lAVCqPhG/g0jJFWjiWWdPnkq5VDlY= was
not found on this server.
Actually problem is with ByCustomer/mJYwIzoaIGe0R8lAVCqPhG%2Fg0jJFWjiWWdPnkq5VDlY%3D
as it is encrypt.What Should I do to make it work?