News for hackers. Stuff that matters.
Re:Show HN: Super simple static blog generator, Benjen by grey-area on Sunday March 17, 2013 @08:22AM (#5388990)
You could have your static generator create symlinks for each post at the short url pointing to the actual page at the canonical url to handle this, and set your server up to follow symlinks.

Alternatively it could generate a table of redirects for you to put in your server config/htaccess.

Re:Show HN: Super simple static blog generator, Benjen by kmfrk on Sunday March 17, 2013 @08:42AM (#5389028)
Is this possible on S3?
Re:Show HN: Super simple static blog generator, Benjen by grey-area on Sunday March 17, 2013 @09:00AM (#5389053)
No idea I'm afraid, it depends on their setup. I used it as one approach when generating a static blog a while ago under Apache, but there are plenty of options (using config redirects, using symlinked pages or dirs, using duplicate html pages with rel=canonical, using js redirects in extra html pages), and I'm sure some if not all of them would work on S3. As long as you're generating statically anyway, you can always add another step to generate all your short links automatically too in whatever form works on your server...