iRule for designated URI (Path)

Hi,

I think it is not a difficult question, but I did not get it work unfortunately.

Sorry, I’m new with iRule and BigIP.

I’m looking for an iRule with allow access to designated paths only.

Example:

http://myhost/

And if paths like /path1/*, /path2 and path3/path/* then allow access, otherwise discard/block the connection.

Could someone point me to the right direction, please?

Thank you in advance!

Tobias

Go see DevCentral - An F5 Technical Community