Forum Discussion
4 Replies
Sort By
- Lee_SutcliffeNacreous
If you format the URL list correctly, you can import it into an external datagroup.
e.g.
"name1" := "/path1", "name2" := "/path2", "name3" := "/path3",
Once setup, you can schedule a transfer of this list to F5.
Once on the box, you can schedule the following command using iCall or Cron to update the datagroup
modify sys file data-group [my-data-group-name] source-path file:/var/tmp/url.list
- youssef1Cumulonimbus
Hi,
So first of create your DG "dg-uri-restriction":
- type string
- string: /uri
- value: not needed in your case.
Then create your irule, it's simple:
when HTTP_REQUEST { set userip [HTTP::uri] if { [class match $userip equals dg-uri-restriction] } { HTTP::respond 403 content "Forbidden" "Content-Type" "text/html" "Connection" "Close" return you can also use reject... } }
- Gimlie_329457Nimbostratus
Thk you all, let me try and update back
- gimlie_382872Nimbostratus
Hi all i try by your recomend is work, but when i try to add crontab. BIG-IP don't run schedule task.