David_Leach_148
Mar 26, 2014Nimbostratus
Solved
I rule to only allow GETs to elastic
We presently don't have any iRules in place so I'm a little new to this. What we're wanting is to only allow GETS to a particular virtual host and to drop all other types of requests.
What is the best way to achieve this?
Any assistance appreciated.
We have a BIGIP 1600
You could do something simple like
when HTTP_REQUEST { if { [HTTP::method] equals "GET" } { pool } else { HTTP::respond 405 "Method not allowedMethod not allowed" } }