switch [string tolower [HTTP::path]] {
/guest { HTTP::redirect https://ptotime.mycomp.com/quest }
default { HTTP::respond 200 content "no such service" }
}
Couple of things to keep in mind:
1) If you're using the same VIP for multiple domains you'll have to include a check for the right one(s).
2) The above won't catch requests to ptotime.mycomp.com/quest/ or ptotime.mycomp.com/quest/default.html (or whatever default page the app uses). However, both would be considered valid requests from the developer's perspective.
3) I'd consider using an HTTP Response Code other than 200 (OK), since "no such service" is not OK.