Slackbot
02/15/2024, 7:14 PMJon Bucud
02/15/2024, 8:10 PM# Create a rewrite action to replace "/display/" with "/bin/view/"
add rewrite action REPLACE_PATH_DIS_BINVIEW_URL replace_all "/display/" "/bin/view/"
# Create a rewrite rule to match the old URLs and apply the rewrite action
add rewrite policy REPLACE_PATH_DIS_BINVIEW_RULE "HTTP.REQ.HOSTNAME.EQ(\"<http://wiki.domain.com|wiki.domain.com>\") && HTTP.REQ.URL.PATH.STARTSWITH(\"/display/\")" REPLACE_PATH_DIS_BINVIEW_URL
# Replace LBVSERVER with the name of your Load Balancing virtual server
bind rewrite lb vserver LBVSERVER -policyName REPLACE_PATH_DIS_BINVIEW_RULE -priority 100jvitech
02/16/2024, 1:19 PMRobert Blissitt
02/16/2024, 4:35 PM