Forum Discussion

jokragly's avatar
jokragly
Icon for Nimbostratus rankNimbostratus
Nov 03, 2010

iRule for URI ACL

Good afternoon. We are getting desperate trying to find a solution to allow specific URIs and deny all other traffic.

 

 

Basically what we are after is to allow access to 5 specific directories and the things within those directories but if someone tries to go to a URI that is not allowed then they get a denied message from the F5 with the URI path that is denied.

 

 

mycompany.com/Login/*

 

mycompany.com/Dealer/*

 

mycompany.com/Image/*

 

mycompany.com/User/*

 

mycompany.com/Help/*

 

 

Should this be done in an iRule? If so how? Is it possible to do this as an http class or data group with match only? I can list the URI Strings in a http class and assign that class to the Virtual Server but an invalid page is response is coming from the web server not the F5 deny because it doesn't match our allowed paths in the http class we created.

 

 

Any and all help would be greatly appreciated.

 

 

Thanks,

 

Jeff

18 Replies