Forum Discussion

VU_VAN_KIM's avatar
VU_VAN_KIM
Icon for Nimbostratus rankNimbostratus
Oct 28, 2019

URI CHANGE

Hello,

 

I have a project to migrate Denyall reverse proxy to F5 and make sure that the uri is not the same on server (backend)

 

for example :

 

www.toto.com/toto forward to pool 10.121.25.66/toto1 it is possible?

 

Thanks for your help and your contribution.

 

Kim

  • Hi VU VAN KIM,

    Can you try this iRule?

    when HTTP_REQUEST {
    	if { [HTTP::uri] equals "/toto" } {
    		HTTP::uri "/toto1"
    		pool <poolName_of_10.121.25.66>
    		# or
    		# node 10.121.25.66 80
    	}
    }