Forum Discussion
How to create allowed/ disallowed URL in F5 XC
How to create allowed/ disallowed URL in F5 XC?
For example, user is not allowed to access URLs containing "git"
Hi ryan_hamdi You can create a service policy for that. Security->Service Policies->Service Policies->Add Service Policy. I'm not sure if you want to block git as part of the FQDN being requested, or as part of the HTTP path, but either way, that's configurable in the service policy.
MichaelatF5 wrote an article on some common iRules functionality that you can convert to XC that might be helpful.
- JRahm
Admin
Hi ryan_hamdi You can create a service policy for that. Security->Service Policies->Service Policies->Add Service Policy. I'm not sure if you want to block git as part of the FQDN being requested, or as part of the HTTP path, but either way, that's configurable in the service policy.
MichaelatF5 wrote an article on some common iRules functionality that you can convert to XC that might be helpful. - MichaelatF5
Employee
The easiest way would be to use Service Policy as Jason highlights, or use a route and do a regex on .git and give a direct response or redirect.
Recent Discussions
Related Content
* 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