cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
923
Views
0
Helpful
3
Replies

CSS Web URL redirection (Urgent)

wasiimcisco
Level 1
Level 1


I want to configure CCS like that when user access the


http://discoverer.abc.com


They will redirect to actual server URL http://discoverer02.abc.com:7778/discoverer/viewer


service Discoverer
  ip address 192.168.200.84
  keepalive type tcp
  keepalive port 7778
  active


content Discoverer
    protocol tcp
    port 80
    advanced-balance sticky-srcip
    vip address 192.168.200.97
    add service Discoverer
    active

content OracleBI_Discoverer_1
    protocol tcp
    port 7778
    vip address 192.168.200.97
    advanced-balance sticky-srcip
    add service OracleBI_Discoverer
    active


group Discoverer
  add destination service Discoverer
  vip address 192.168.200.97
  active


With the above configuration i can only telnet  and webpage on port 7778 but I cant open the web page

http://192.168.200.97

How I can do the redirection while user access the normal web page http://192.168.200.97.

Thanks in advance

3 Replies 3

wasiimcisco
Level 1
Level 1

Appreicate assistance on this.

Hi,

I have done configuration change now at least can telnet on port 80 for  192.168.200.97 but redirection is not working for me.

Client will type

http://192.168.200.97

it should go to

http://192.168.200.97:7778/discoverer/viewer

My current configuration

service Test
  ip address 2.2.2.2
  keepalive type none
  type redirect
  redirect-string "http://192.168.200.97:7778/discoverer/viewer"
  active


service OracleBI_Discoverer
  ip address 192.168.200.84
  keepalive type tcp
  keepalive port 7778
  active

content Test
    vip address 192.168.200.97
    add service Test
    protocol tcp
    port 80
    url "/"
    active

  content Test2
    url "/"
    protocol tcp
    port 7778
    vip address 192.168.200.97
    add service OracleBI_Discoverer
    active

Appreicate any help on this.

Hi,

Problem solved below is the configuration which is working fine for me

service OracleBI_Discoverer
  ip address 192.168.200.84
  keepalive type tcp
  keepalive port 7778
  active

service OracleBI_Discoverer_7778
  ip address 2.2.2.2
  keepalive type none
  type redirect
  redirect-string "http://192.168.200.97:7778/discoverer/viewer"
  no prepend-http
  active


content OracleBI_Discoverer_1
    protocol tcp
    advanced-balance sticky-srcip
    port 7778
    vip address 192.168.200.97
    add service OracleBI_Discoverer
    active

  content OracleBI_Discoverer_80
    url "/"
    vip address 192.168.200.97
    protocol tcp
    port 80
    add service OracleBI_Discoverer_7778
    active

Client is using

http://192.168.200.97

and it is redirecting to

http://192.168.200.97:7778/discoverer/viewer

Thanks Regards

Review Cisco Networking for a $25 gift card