Forum Discussion
Query part in a custom blocking page
Hi all,
I'm new to irules and ASM at all so perhaps this is a stupid question... I need to create a custom blocking page that redirects to a certain URL. In the redirect URL i need the query part of the blocked request and the supportid as a new parameter. I can create a blocking page with a redirect URL in the ASM and there is also a variable for the supportid <%TS.request.ID()%>. But how can i also insert the query part of the original request? Is there also a variable for that ? Can this be done with an irule ?
Thanks in advance, Joachim
5 Replies
- nolipineda
Altostratus
I'd be interested in the answer too. - Brad_Parker_139
Nacreous
You'll probably want to use when ASM_REQUEST_VIOLATION and in your redirect you will want to include [HTTP::query [HTTP::uri]] for the query parameters.
- Brad_Parker_139
Nacreous
Sorry just [HTTP::query]. Can't edit since DC isn't really mobile friendly &128526;
- Brad_Parker
Cirrus
You'll probably want to use when ASM_REQUEST_VIOLATION and in your redirect you will want to include [HTTP::query [HTTP::uri]] for the query parameters.
- Brad_Parker
Cirrus
Sorry just [HTTP::query]. Can't edit since DC isn't really mobile friendly &128526;
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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