Forum Discussion
kamlyada_209668
Nimbostratus
May 04, 2016All urls which are not like _https://uat.kamlesh.com/alfresco/api should not work
Hello,
We have created VIp for url - https://uat.kamlesh.com/alfresco/api/
and client wants that he must be able to reach this url -https://uat.kamlesh.com/alfresco/api/ and if anyone trying to acces...
youssef1
Cumulonimbus
May 04, 2016if I understand you want to create a whitelist, to allow just a specific URL. If it is the cas this irule can help you:
when HTTP_REQUEST {
set uri [string tolower [HTTP::uri]]
if { $uri equals "/alfresco/api/ || $uri equals "/alfresco/api" }{
log loca0. "allow access"
} else {
log loca0. "Access denied for the following uri: $uri"
reject
}
}
Regards
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
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
