Forum Discussion
arjun_ankathil_
Nimbostratus
Apr 07, 2010Http redirection for specific URL and HTTP to HTTPs redirection
Hi ,
We have a situation where we have HTTPs for specific Virtual server, We have certain URLs under that VS which works only on HTTP, and we need HTTP to HTTPS redirection expect those URLs.
Please help me with a irule.
4 Replies
Sort By
- hoolio
Cirrostratus
Hi Arjun, - nick_84883
Nimbostratus
I have a similar problem... any help? - nick_84883
Nimbostratus
my problem is that I have 2 VS's, one for HTTP and one for HTTPS. Now, the HTTP VS originally had a blanket redirect HTTP>HTTPS, but now there are 2 sub domains that need to be HTTP. - hoolio
Cirrostratus
Hi Nick,when HTTP_REQUEST { switch [string tolower [HTTP::path]] { "/test/site1" - "/test/site2" { Do nothing so the request will be sent to the VIP's default pool } default { HTTP::redirect "https://[HTTP::host][HTTP::uri]" } } }
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects