Forum Discussion
All traffic to go to maintenance site, including traffic to all subsites.
Hi All,
I would like all traffic to go to maintenance site, including traffic to all subsites.Like 'https://abc.com/sites/adaw' should also be redirected to the maintenance site.Please suggest.
Original url: https://abc.com
Please find the below config.
VS_https-443 Sorry_server_irule pool_https 10.1.xx.yy:443 (Force disabled) 10.1.xx.yz:443 CForce disabled) 10.1.xx.zz:443 CForce disabled)
VS_http-80 ir-http-to-https
sorry-pool_https 172.23.xx.xw:8443
Sorry_server_irule contains below code.
when CLIENT_ACCEPTED { if {[active_members pool_https]<1}{ pool sorry-pool_https
} else { pool pool_https } }
- rob_carr
Cirrocumulus
Depending on the configuration of the sorry server, that looks like it should work. What are you actually experiencing?
- Samir_Jha_52506
Noctilucent
Above iRule should work; Please attach if you are seeing any error.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com