Forum Discussion
Shay_Ben-David1
Nimbostratus
Jun 25, 2007http code 301&302
when using irule to redirect example: "HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri] "
i can see in the client that i get HTTP code 302 that means redirects, is there a way to g...
hoolio
Cirrostratus
Jun 25, 2007Hi Shay,
You can specify the response code with HTTP::respond (Click here). Here is an example:
HTTP::respond [content ] [ ]+
HTTP::respond 301 Location "https://[getfield [HTTP::host] ":" 1][HTTP::uri]"
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