Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Clear all filters

required to convert rewrite rule written in apache to F5 irule

Hi Team,

since I am going for F5 load balancer from apache and I need to convert some rewrite rules in apache to F5 irule.

Could some please help that me urgently.

# RENAME RewriteRule /hdfs/([6789])/([A-Za-z0-9_\-\/.]+)/RENAME/(.*)$ http://ont-dc2-mysql-hadoop01:14000/webhdfs/v1/data/vmm$1/$2/?user.name=nobody&op=RENAME&destination=/data/vmm$1/$3 [P,L]

the request that will hit like this and below example will give the clarity what regular expression above doing in apache:

curl -i -X PUT 'https://services-ont-hs4.newbayasp.net/hdfs/9/dv/kpi/test/20161108_temp/MKDIRS'

is converted to following internal httpFS API

curl -i -X PUT 'http://ont-hadoop01:14000/webhdfs/v1/data/vmm9/dv/kpi/test/20161108_temp/?user.name=nobody&op=MKDIRS'

Rate this Question
Comments on this Question

Answers to this Question