Forum Discussion
tacobell_112236
Nimbostratus
Dec 08, 2010URL access based on IP\LDAP
Im new to F5 ASM so I apologize for my ignorance in advance. Is it possible to create an IRule to allow access to a webpage based on IP adresses and\ or LDAP group?
I see this as an exam...
tacobell_112236
Nimbostratus
Dec 09, 2010No its not using IIS...but after thinking about it - why not just use the LTM as you suggested...
I have this so far but have a question: Can I add multiple URL's to check in this irule e.g. in BOLD I have adstructure/ i want to add other sites that have a login.jsp or login\password locations...
when HTTP_REQUEST { if { ([HTTP::uri] starts_with "/adstructure") and ([matchclass [IP::remote_addr] equals $$IPAddressDataGroup]) } { HTTP::redirect "https://www.xxx.com/adstructure/xxx/login.jsp/index/index/" } else { HTTP::redirect "https://www.xxx.com/" } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
