06-22-2007 01:15 PM
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?
06-24-2007 09:33 PM
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
06-25-2007 09:49 AM
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])#
06-26-2007 12:54 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide