cancel
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.

Convert Policy Rule on Apache proxy to New F5

Hoang_Hung
Altostratus
Altostratus

Hi all

 

I have a system is running via Apache (Apache proxy).

With Topology: User >> Apache >> Backend

And now we should convert all policy from Apache proxy to F5

New Topology: User >> F5 >> Backend

Policy Rule on Apache:

# prodpayproxy

 

ProxyPassMatch "^(.*)/lab_mm/(.*)$|^(.*)/lab_en/(.*)$" http://10.10.10.10:1358/cgaweb-api/soap/lab/v1/$1$2 disablereuse=on

 

ProxyPassReverse /lab_mm/labService/ http://10.10.10.10:1358/cgaweb-api/soap/lab/v1/

ProxyPassReverse /lab_en/labService/ http://10.10.10.10:1358/cgaweb-api/soap/lab/v1/

 

ProxyPassMatch "^(.*)/mlab/(.*)$" http://10.10.10.10:1358/cgaweb-api/soap/mlab/v1/$1$2 disablereuse=on

ProxyPassReverse /mlab/mlabService/ http://10.10.10.10:1358/cgaweb-api/soap/mlab/v1/

 

------------------------------------------------------------------------------------------------------------------------------------

From Via Public (F5)

https://abc.com/lab_mm/labService?wsdl

https://abc.com/lab_en/labService?wsdl

 

How do you know solution convert from Apache to F5. ?

 

Thanks

Hung Hoang

2 REPLIES 2

Dojs
Cirrostratus
Cirrostratus

I got the same environment... how did you do this convertion?

I have use irule and policies for my solution

 

Thanks

Hoang Hung