Forum Discussion
Karthik_Krishn1
Cirrostratus
Thanks Kevin . I was just told that the URL has to be accessible by both Internal ( RFC 1918 ) and Internet users. So based on new information this is what the developers want to do :
If a user is from the Internet they need to be able to access the following in the order as below:
- permit /i/*
- permit /smapps/f?p=202
- permit /smapps/f?p=cac
- reject if starts with /smapps/f?p and does not start with /smapps/f?p=202
- permit /smapps/*
- Reject all
Now if the user is from the Internal RFC 1918 network , then they should be able to access anything after /smapps/ with the only rejections being the one shown below following additional rules apply :
- reject /smapps/f?p=4550
- permit /smapps/*
- reject all
Again thanks for your help .
Mohamed_Lrhazi
Oct 15, 2013Altocumulus
I am curious about what is missing from Kevin post?
Do you need help with:
- How to write and use an iRule?
- How to code "match client IP against list of subnets" ?
- How to code "match request URI against list of URIs"?
- How to reject when conditions do not match?
- ...