Forum Discussion

rajesh_376531's avatar
rajesh_376531
Icon for Nimbostratus rankNimbostratus
Nov 15, 2018

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/(.*)$ $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 ''