I want to create a redirect object.
It is redirected to a JSON file. The HTML expires header will not work for me.
touch google
s3cmd --add-header='Location: http://www.google.com/' -P put google s3:
This does not work as I do not install HTTP-sttaus in 302
I prefer s3cmdsince it is already installed on the target server, but python can also fine if s3cmdit cannot do this.
source
share