Forum Discussion
JPONNUSAMY_2705
Nimbostratus
Aug 11, 2016iRule to hide folders for users but internally it should call appropriate folder
Hi All,
We have requirement to hide some of the subfolders from the URL on browser but internally it should work.
After /sites/ en_US comes then we have to completely hide from the browser inte...
Samir_Jha_52506
Noctilucent
Aug 12, 2016Hi, Just add internal & external url.
class datagroup-ntvSamsungSmartTVApp {
host 10.10.5.139
network 172.16.0.0/16
}
when CLIENT_ACCEPTED {
if request comes from internal Client
if { [class match [IP::client_addr] equals datagroup-ntvSamsungSmartTVApp] } {
HTTP::redirect "http://cmspweb.com/sites/ar/xxx/yyy"
}
else {
if subnet doesn't match with datagroup, then redirect to external site.
HTTP::redirect "http://cmspweb.com/sites/xxx/yyy"
}
}
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
