I am planning to share URLs (time limited) for private objects. Is there a way to set custom error pages for 404/403 http responses ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, it’s possible, see this announcement.
In the Developer guide there is a paragraph about “Custom Error Document Support” where I read the following sentence.
How to set 4xx custom error page:
With CloudBerry, you can right click on a bucket, select Properties, click the tab Website and set the index document and the 4xx error document.
Use AWS Java SDK, here is an example code (not tested)
UPDATE I also found this blog post: Host Your Static Website on Amazon S3.