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

CSS Redirection on an odd extension

p.mckay
Level 1
Level 1

The customer comes to "https://xx.xxx.xx/apc_prd/WsExternalApc.asmx?WSDL "

But need to redirect this to "https://xx.xxx.xx/apc_prd/WsExternalApc.wsdl"

Issue is the CSS does not like the ?WSDL

Tried the following without success:

content APC_PRD_WDSL_80

vip address 192.168.206.146

add service SVANWEBPRD03_APC_PRD

add service SVANWEBPRD04_APC_PRD

advanced-balance arrowpoint-cookie

protocol tcp

port 80

url "/apc_prd/WsExternalApc.asmx?WSDL"

redirect "/apc_prd/WsExternalApc.wsdl"

active

So is there a way to do this?

3 Replies 3

RODRGUTI
Level 1
Level 1

Hello,

You are saying that the traffic is coming on https, and you need to do a redirect to a different url.

Well, so far if you don't have a SSL module, and you are not doing SSL termination on the CSS, you wont be able to do the redirect, since the traffic is coming encrypted and the CSS is not able to do it.

Now, if you are doing SSL termination on the CSS, once you have decrypted the traffic please try this:

Create a new service:

Service redirect

keepalive type none

type redirect

no prepend-http

redirect-string "https://xx.xxx.xx/apc_prd/WsExternalApc.wsdl"

active

content APC_PRD_WDSL_80

vip address 192.168.206.146

add service redirect

protocol tcp

port 80

url "/apc_prd/WsExternalApc.asmx?WSDL"

active

Now, everything that comes on port 80 with that vip and that specific url is going to be redirected to "https://xx.xxx.xx/apc_prd/WsExternalApc.wsdl"

- Rodrigo

The issue so far is the line

url "/apc_prd/WsExternalApc.asmx?WSDL"

CSS complains "%% Unsupported or invalid content rule URI"

CSS11503(config-owner-content[TEST-APCD_WDSL_80])# url "/apc_prd/WsExternalApc.asmx?WSDL"

%% Unsupported or invalid content rule URI

CSS11503(config-owner-content[TEST-APCD_WDSL_80])#

looks like the CSS only accepts 7 characters after the dot.

CSS11503-2(config-owner-content[gdufour-WWW])# url "/.1234567"

CSS11503-2(config-owner-content[gdufour-WWW])# no url

CSS11503-2(config-owner-content[gdufour-WWW])# url "/.12345678"

%% Unsupported or invalid content rule URI

CSS11503-2(config-owner-content[gdufour-WWW])#

Gilles

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: