you can take the result into a script where u test the $action variable and depending on this, u redirect to the appropriate page
redirect.php
<?php
switch ($action){
case someaction:
header("location:http://www.yourdomain.com/someaction.php ");
break;
case anotheraction...