Forum Discussion
mblachford_3582 Nimbostratus
Nimbostratus
May 30, 2018HTTP::respond and header request modifications
 Hey everyone.  
 Trying to federate AWS S3 and an on premises S3 compliant storage box with iRules/iRulesLX. The calling client connecting to the BigIP will by default have the access key and secret ...
Simon_Blakely Employee
Employee
May 31, 2018So the 302 response from your irule has an incorrectly formatted Location header with no protocol or URI, as I mentioned earlier.
Your new location header should be
https://s3.amazonaws.com/testbucket1/shot.png
HTTP::respond 302 noserver Location "https://$host[HTTP::uri]" Authorization "$authorization" X-Amz-Date "$xamzdate" X-Amz-Content-Sha256 "$xamzcontentsha256"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