Forum Discussion
sysadmin_2015_2
Dec 03, 2015Nimbostratus
iRule - https redirect - Google rating
Hello,
One of our sites has two virtual servers, one for port 80 and another for 443. The port 80 virtual server currently has a https redirect iRule attached sending all port 80 traffic to 443...
- Dec 03, 2015
You could use the HTTP::respond command to do this.
when HTTP_REQUEST { HTTP::respond 301 "Location" "[HTTP::host][HTTP::uri]" }
Vik_K_236702
Dec 04, 2015Historic F5 Account
Hi
Here is a nice article for you to study on this :
https://devcentral.f5.com/codeshare/http-to-https-redirect-301
And yes its on the lines of what Lee has responded :) .
Hope it helps!
Cheers! Vik
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