11-13-2003 12:27 PM
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
Solved! Go to Solution.
11-15-2003 06:04 AM
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.
11-14-2003 07:00 AM
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
11-15-2003 01:33 AM
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
11-15-2003 06:04 AM
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.
11-16-2003 11:53 AM
Dear Gilles
It works!
Thanks a lot
Bonne soirée
Fabrice
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: