Forum Discussion
Matt_H_58911
Nimbostratus
Jan 13, 2009More URL redirects
I have a high level question in regards to URL redirects. Is their a limit on how many redirects I can have? Lets say I need 2000 redirects, does this require and I rule for every redirect? Ideally...
dennypayne
Employee
Jan 13, 2009If you just need a generic redirect from http to https, then you just need
when HTTP_REQUEST {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
on each port 80 virtual server.
If you need something more specific, then you may need a separate rule for every redirect, depending on how much of the host and/or URI needs to be changed.
If you are trying to redirect a client but have the browser URL remain the same, that's not really doable without proxying all the requests. You can use the ProxyPass rule in the codeshare (Click here) to accomplish something like that.
Denny
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