Rently, I encountered a rather complex problem about using irule on ltm 6800 to accomplish URI ACL. The requirements are as follows:
The URL format is http://172.16.1.100/a/b/c;172.16.1.100 is the vs address,a,b and c are three parts of URI and c may be files such as err.html.
When a client establishes a connection to the URL above,irule should judge all the three parts in URI,namely a,b,c.There are several situations:
1.a stands for “permit”,b and c stand for “deny”,you can access http://172.16.1.100/a,but not http://172.16.1.100/a/b or http://172.16.1.100/a/b/c
2.a stands for “deny”,but b and c stand for “permit”,so you can not access http://172.16.1.100/a,but you can http://172.16.1.100/a/b and http://172.16.1.100/a/b/c
3.a stands for “deny”,b stands for “permit”,but c also stands for “deny”,etc
That’s to say, we should judge all the three parts of URI in order to know whether the client requests should be rejected or to a certain pool.
Could you please give me some advice or some example about such requirements? Thank you!