redirect on CSS11506

Answered Question
Jan 5th, 2009
User Badges:

seasons greeting


Could anyone to advace me that how can I redirect or rewrite https://myweb.mydomain to https://myweb.mydomain/mydir1/mydir2


I have big problem with it.


my configuration looks like:

content ssl-myweb-rule

vip address 10.3.3.30

port 443

protocol tcp

add service ssl-slot3-srv

active


content ssl-myweb-rule2

vip address 10.4.4.30

port 7777

protocol tcp

balance leastconn

add service myweb-7777

active


service myweb-7777

ip address 10.5.5.30

protocol tcp

port 7777

keepalive type tcp

keepalive port 7777

active


Any comments will be appreciated


Thanks in advance



Correct Answer by Gilles Dufour about 8 years 3 months ago

Redirection is explained at

http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_configuration_example09186a00801de8d6.shtml


So, you need a new content rule


content ssl-myweb-redirect

vip address 10.4.4.30

port 7777

protocol tcp

url "/"

redirect "https://myweb.mydomain/mydir1"

active


Gilles.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.

Actions

This Discussion