Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bronius/54ce2acd7f4fe600a36ae26bb3ba220d to your computer and use it in GitHub Desktop.
Save bronius/54ce2acd7f4fe600a36ae26bb3ba220d to your computer and use it in GitHub Desktop.
Running into issues with a .Net project's ability to pull its DDay deployed Click Once installer update files hosted on Amazon S3 static website due to mysterious 404. The original manifest was pulled, and the app prompts to download update, but the update failed with 404. Turns out the subsequent requests made with superfluous forward slash ("/…
<RoutingRules>
<RoutingRule>
<Condition>
<KeyPrefixEquals>//</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>/</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
</RoutingRules>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment