cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
448
Views
0
Helpful
4
Replies

Redirect to the same VIP

Hi

I need to redirect a page to the same VIP. Followed the instructions on the URL link below: http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_tech_note09186a00801c65b5.shtml

Still don't know how to create a content rule to accept the new page.

Can someone help, please?

Thanks,

Fabrice

1 Accepted Solution

Accepted Solutions

the problem is that url "/*" will catch everything including /exchange.

so when you connect back to /exchange it goes back to the same redirect-1

for your main content rule (no-redirect) use the same config and the following url command :

url "/exchange*"

Regards,

Gilles.

View solution in original post

4 Replies 4

rob
Level 1
Level 1

Define a service for your server(s)

define a content rule

content XXXX

add service xxxx

url "/*" (what you want redirecting)

protocol tcp

port 80

redirect "http://www.cisco.com/index.html"

( where it should be re-redirected to....

This is how I got it working without the use of a VIP but then in my scenario Im not load balancing across muliple boxes

If this doesnt help you send me your config and ill take a look for you

Cheers

Hi. Thanks for your reply.

First I created the same content rule as mentioned above but it still doesn't work.

Then I created two differents rules which go directly in loop:

content Redirect

add service test1

add service test2

vip address 192.168.72.12

protocol tcp

port 80

active

content Redirect-1

vip address 192.168.72.12

redirect "/exchange"

protocol tcp

port 80

url "/*"

active

Do you have an idea what's wrong?

Thanks again

Cheers

the problem is that url "/*" will catch everything including /exchange.

so when you connect back to /exchange it goes back to the same redirect-1

for your main content rule (no-redirect) use the same config and the following url command :

url "/exchange*"

Regards,

Gilles.

Dear Gilles

It works!

Thanks a lot

Bonne soirée

Fabrice

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: