10-25-2013 01:06 AM
Hi All,
can any one help me in configuring the ACE to do URL redirection.
let's say clinet access the URL : "https://abcd.xyz.co.in" then ACE should redirect it to the
if it is possible to achieve through ACE then kindly suggest me how to do it.
Thanks in advance.
Regards,
L R N
10-25-2013 07:38 AM
Hi Lingaraj,
For HTTPS redirection you will have to configure SSL offloading on ACE. Normally you can use redirect servers to redirect a client request but for HTTPS request ACE cannot look into the packet and hence cannot redirect unless you configure ACE for SSL redirection. Here's a sample configuration for HTTPS redirection.
serverfarm redirect kanwal
rserver kanwal
inservice
ssl-proxy service SSL
key cisco-sample-key
cert cisco-sample-cert
policy-map type loadbalance first-match kumar
class class-default
serverfarm kanwal
policy-map multi-match server-NAT
class Test
loadbalance vip inservice
loadbalance policy kumar
loadbalance vip icmp-reply
nat dynamic 1 vlan 999
ssl-proxy server SSL
Let me know if you have any questions.
Regards,
Kanwal
10-25-2013 07:39 AM
Read SSL offloading and not ssl redirection in third line.
10-25-2013 01:14 PM
Hi Kanwaljeet Singh,
Thank you for your revert on this.
I agree that certificate should be owned by the ACE and then only ACE can do the changes in the header for HTTPS requests.
in my condition also I have a certificate offloaded on the ACE and I want to redirect the URL from
"https://abcd.xyz.co.in" to "https://abcd.xyz.co.in/abc". just need to add the path after the hostname.
could you pls help in doing this.
10-28-2013 09:41 AM
Hi Lingaraj,
The above configuration should work fine as from your requirment it seems you need URL redirection.
rserver redirect url1
webhost-redirection https://abc.com/xyx 302
Inservice
You can just configure rserver redirect and call this server in serverfarm. Configure a policy map as shown above and also associate SSL proxy with the corresponding class under policy map.
You main URL should come to a VIP specified in class Test and then it will be LB to serverfarm and should be redirected since SSL offloading is there in place.
Please try and let me know how it goes.
Regards,
Kanwal
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