Scripting News: Redirecting from an S3 file.

Update: Problem solved in the comments. Thanks!! 😉

I’m having no luck trying to redirect from a file stored in an S3-hosted website.

I’ve tried doing it through the website interface, but I get a dialog saying Sorry you were denied access to do that.

I’m pretty sure I have the permissions set to allow me to do anything I want to the file in question. That appears to be a dead-end.

Then I tried doing it with a script.

I set the metadata for the file.

The docs, as usual with Amazon, tell you everything in a weird order and use foreign (to me) terminology. As usual I try to muddle along. I read all the discussion threads I can find, and see that other people are confused, but they seem to eventually get it to work, but don’t leave behind anything useful to me. When I get to this point I usually write a blog post and ask if Scripting News readers have any ideas for me to try out.

Here’s a test file. As far as I can see it should redirect.

Now the usual question — wtf am I doing wrong? 🙂

Advertisements

About Dave Winer

Dave Winer, 54, pioneered the development of weblogs, syndication (RSS), podcasting, outlining, and web content management software; former contributing editor at Wired Magazine, research fellow at Harvard Law School, entrepreneur, and investor in web media companies. A native New Yorker, he received a Master's in Computer Science from the University of Wisconsin, a Bachelor's in Mathematics from Tulane University and currently lives in Berkeley, California.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s