Forum Discussion

Ranvir_Floura_7's avatar
Ranvir_Floura_7
Icon for Nimbostratus rankNimbostratus
Dec 14, 2007

iRule to disable GET but allow PUT's

I have an ssl enabled site where i need to restrict GETs to certain portion of the uri, (so users cant see the page, or get redirected to something else), but still allow PUTs to the url because that is for web service invocation.

 

 

So, if anyone clicks on the url below, they need to be redirected to somewhere else, but a web service needs to be able to PUT information to that url.

 

 

https://x.y.com/aaa/bservices

 

 

Is it possible using an iRule. The current version of the F5 is 4.x.

 

 

Thanks!!