Forum Discussion
Emad
Cirrostratus
Nov 28, 2013Stop POST requests.
Hi. I was working to stop certain type of requests to web servers via LTM Irule. Right now i can stop different patterns in HTTP GET request i.e via URI. but i also want to stop certain patterns in P...
Kevin_Stewart
Employee
Nov 29, 2013I'm not sure, but it seems like the objective has changed since the beginning of this thread.
For example there is a irule to stop command execution via URI but when i try to execute command in POST it does not work as it only ready uri part. I need to control post requests.
If you just need to filter on the URI portion of a request (GET, POST, etc.). Example:
POST /foo/bar/test.exe HTTP/1.1
GET /foo/bar/test.exe HTTP/1.1
then the original iRule using HTTP::uri should work. If however you need to filter on the POST payload, the data that comes after the HTTP headers, then you need to first HTTP::collect it.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects