Forum Discussion
Download file from AWS S3 bucket / http profile
- Jun 14, 2023
Hello,
Resolved, add only : HTTP::header replace Host "hostname"
FYI : url is : hostname.bucket.xxxxxxaws......
So, 2 questions here:
- Does datagroup 'uri-data' actually exist? Do you have the URI path there for the file you are looking to download?
- The HTTP::disable in the HTTP_RESPONSE will trigger on EVERY request, regardless if there is a match in the HTTP_REQUEST. You need to specify a variable in the HTTP_REQUEST and check it in the HTTP_RESPONSE. I presume that when that particular URI is matched, you only then want to disable the HTTP profile for that session -- both client side (http_request) and server side (http_response.
- cpt_ri_F5Jun 13, 2023Cirrostratus
Hello,
- Yes, the 'uri-data' datagroup exists (also tested with fixed uri in code)
- Same problem, HTTP_RESPONSE with matched URI !
I presume that when that particular URI is matched, you only then want to disable the HTTP profile for that session -- both client side (http_request) and server side (http_response.
=> I don't know how it works, I found this solution in the two links shared, I'm interested in any other solutions.
My question, is there a special configuration when trying to view or download a file (http://VS_F5/path_file) with a Standard VS ?
I would also like to confirm: I access in http and the backend servers are in https, correct : no client ssl, with default serverssl ?
Thank you
- whispererJun 13, 2023MVP
Ok, so you have a virtual server configured. What do you have configured as Pool Members? Sounds like you have a standard VS and want to server side proxy to AWS S3 buckets?
Silly question, but do you have SNAT enabled on VS? Could be routing issue.
- cpt_ri_F5Jun 13, 2023Cirrostratus
yes, a standard VS, pool fqdn (up)
wWy proxy? I just want to retrieve the file in http, curl or wget
Not snat, automap (route ok)
Thanks
Recent Discussions
Related Content
* 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