03-20-2015 11:26 AM
I have been asked to create an automatic redirect when somebody requests http to go to https. I have never really dealt with a content switch before. I am looking for content L3_Rule_testapp to basically automatically redirect to content L3_Rule_SSL_testapp. Any help would be appreciated.
!************************* KEEPALIVE *************************
keepalive SERVER-NAME-A
type ssl
ip address 192.168.10.151
uri "/testapp/Login.htm"
description "SSL keepalive for SERVER-NAME-A"
port 443
active
keepalive SERVER-NAME-B
port 443
type ssl
ip address 192.168.10.152
uri "/testapp/Login.htm"
description "SSL keepalive for SERVER-NAME-B"
active
keepalive NON-Secure-SERVER-NAME-A
port 80
type http
ip address 192.168.10.151
uri "/testapp/Login.htm"
description "Port 80 Keepalive for SERVER-NAME-A"
active
keepalive NON-Secure-SERVER-NAME-B
description "Port 80 Keepalive for SERVER-NAME-B"
port 80
type http
ip address 192.168.10.152
uri "/testapp/Login.htm"
active
!************************** SERVICE **************************
service SERVER-NAME-A
keepalive type named SERVER-NAME-A
ip address 192.168.10.151
port 443
protocol tcp
active
service SERVER-NAME-B
keepalive type named SERVER-NAME-B
ip address 192.168.10.152
port 443
protocol tcp
active
service NON-Secure-SERVER-NAME-A
keepalive type named NON-Secure-SERVER-NAME-A
port 80
ip address 192.168.10.151
protocol tcp
active
service NON-Secure-SERVER-NAME-B
keepalive type named NON-Secure-SERVER-NAME-B
port 80
protocol tcp
ip address 192.168.10.152
active
!*************************** OWNER ***************************
owner L5_Access
content L3_Rule_testapp
vip address 192.168.10.22
advanced-balance sticky-srcip
sticky-serverdown-failover sticky-srcip
protocol tcp
port 80
balance aca
add service NON-Secure-SERVER-NAME-A
add service NON-Secure-SERVER-NAME-B
active
content L3_Rule_SSL_testapp
balance aca
advanced-balance sticky-srcip
sticky-serverdown-failover sticky-srcip
port 443
protocol tcp
vip address 192.168.10.22
add service SERVER-NAME-A
add service SERVER-NAME-B
active
!*************************** GROUP ***************************
group HIN_HTTP_testapp
redundancy-l4-stateless
vip address 192.168.10.22
add destination service SERVER-NAME-A
add destination service SERVER-NAME-B
add destination service NON-Secure-SERVER-NAME-A
add destination service NON-Secure-SERVER-NAME-B
active
Solved! Go to Solution.
03-22-2015 07:30 AM
Hi,
Below link shows how can you configure redirection in different ways.
http://www.cisco.com/c/en/us/support/docs/application-networking-services/css-11000-series-content-services-switches/41840-redirects-config.html
Please have a look and let me know if you have any question.
Regards,
Kanwal
Note: Please mark answers if they are helpful.
03-22-2015 07:30 AM
Hi,
Below link shows how can you configure redirection in different ways.
http://www.cisco.com/c/en/us/support/docs/application-networking-services/css-11000-series-content-services-switches/41840-redirects-config.html
Please have a look and let me know if you have any question.
Regards,
Kanwal
Note: Please mark answers if they are helpful.
03-23-2015 07:41 AM
It would appear that I got it to work. I was about to give up then noticed that I hadn't set something to active. Worked after that. I will come back if I need anymore assistance but other then that thanks.
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: