HTTP Redirect (301)

Hi everybody,

I was wondering whether it is possible to do a http 301 redirect. Simple iRule that I have written does a 302 redirect, but I would prefer it to be 301. This possible?

Thanks,

AL

You can use HTTP::respond (Click here) instead of HTTP::redirect to customize the status and Location for a redirect:

HTTP::respond 301 Location https://example.com

Aaron

Yes, I have discovered the “respond” option shortly after I posted my original message. Thank you for your time Aaron and sorry for littering the forum.

Regards,

AL