Forum Discussion
Regex
Turns out that rather than capturing ?status=error and passing it along, this needs to take whatever is after .aspx and append it, no matter what it is.
For example, they want the following examples to be able to work:
from:
http://server/webex/(.*).aspx?(.*)
to:
http://server/post/post.ashx?id=$1&$2
more examples:
http://server/webex/10.aspx?status=Good -> http://server/post/post.ashx?id=10&status=good
http://server/webex/10.aspx -> http://server/post/post.ashx?id=10
http://server/webex/234234.aspx?* -> http://server/post/post.ashx?id=234234&*
Does this iRule need to be completely re-worked all over again?
I was thinking of doing something like this:
HTTP::redirect "/post/post.ashx?id=${id}&[HTTP::query]"
rather than
HTTP::redirect "/post/post.ashx?id=${id}&status=error"
Thanks for any help, I'm trying to work on it on my own as well.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com