Forum Discussion
galou_31358
Nimbostratus
Jun 14, 2011transform juniper redirector and cluster to VS using irule
Hi all
I'm new in iRule developping, i would like just transforming this redirector and cluster Juniper DX to a virtual server.
Do i need to create to 2 VS, one VS for redirect using an...
hoolio
Cirrostratus
Jun 14, 2011It would be simpler to create one HTTP VS on port 80 and another on port 443. The pool for the HTTPS VS would contain the server IP:port 1.2.3.4:8080.
You can use an iRule like this to redirect requests to the HTTP VS to HTTPS:
when HTTP_REQUEST {
HTTP::redirect "https://foo.bar.com/new_uri/test"
}
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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