Forum Discussion
ccraddock
Cirrus
Sep 09, 2019iRule assistance
Dear Community, We ran into an issue last week where one of our app support members was logged into a production web portal (mistakenly thinking she was in the pre-production portal) and she made so...
youssef1
Cumulonimbus
Sep 13, 2019HI,
You can achieve your need easly:
first create a DG with your internal IP:
Internal_user
Then use this IP. if you come from internal network this irule inser a header with the following header:
name: env
value: prod
when CLIENT_ACCEPTED {
set header 0
if { [class match [IP::client_addr] equals Internal_user] } {
set header 1
}
}
when HTTP_RESPONSE {
if {$header}
HTTP::header insert env prod
}
}keep me in touch
regards
ccraddock
Cirrus
Sep 13, 2019Youssef,
Thanks so much for the reply! I will try this out and let you know either today or Monday if it worked!
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