Forum Discussion
DarkSideOfTheQ_
Nimbostratus
Jan 27, 2009genric http to https question
I've done a couple of http to https irules and now find mysyelf wondering if I can accomodate this new request. We are using a single hostname for different applications (ex. server1.domain.com/click/...
Jennifer_Davis2
Nimbostratus
Jan 28, 2009This matches all incoming HTTP traffic regardless of URL and redirects it to HTTPS. The redirect keeps the URL intact for the user and just redirects the port.
when HTTP_REQUEST {
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
