Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

LTM policy URI rewrite

Domel_163525
Nimbostratus
Nimbostratus

Hello all,

 

I was wondering if anyone could help me with my issue.

 

I use LTM policies to redirect URL to the correct pools etc.

 

I have few policies configured on F5 running firmware v11 and it works perfectly fine:

 

When end user types in a URL for example: testurl.mydomain.com the policy will add additional piece to the URI and redirect the request to a appropriate pool.

 

I have achieved this by configuring 2x separate rules:

 

1st rule will check the HTTP-HOST is equal to testurl.mydomain.com and HTTP-URI is equal to / If it is, it will do HTTP-REPLY and redirect to /Default.aspx

 

The aim is to make the URL user friendly so the end user will only type testurl.mydomain.com and /Default.aspx will be added by the policy testurl.mydomain.com/Default.aspx

 

2nd rule will check the HTTP-HOST again and if it is equal to testurl.mydomain.com it will redirect the request to the pool.

 

As I have said, it works perfectly fine. The challenge I am facing is that I can't get this working on LTM running firmware v13, it looks like HTTP-REPLY option isn't there anymore.

 

Any ideas?

 

I don't want to use iRules, needs to be a policy.

 

Rule1 on v11 (works fine):

 

0691T000006ApruQAC.png

 

0 REPLIES 0