Implement PutBucketWebsite > RedirectAllRequestsTo #547

Open
opened 2023-04-20 11:31:39 +00:00 by quentin · 0 comments
Owner

I think it could be interesting to implement RedirectAllRequestsTo from PutBucketWebsite and it should not be that hard to do. It would be particularly interesting because many people choose either www.example.com or example.com as their main website URL, and for the other one, they redirect the domain with a 301.

More specifically, it means extending support for PutBucketWebsite by:

Or maybe we can implement everything in one shot?

I think it could be interesting to implement `RedirectAllRequestsTo` from `PutBucketWebsite` and it should not be that hard to do. It would be particularly interesting because many people choose either `www.example.com` or `example.com` as their main website URL, and for the other one, they redirect the domain with a 301. More specifically, it means extending support for [PutBucketWebsite](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html) by: - Adding full support for [RedirectAllRequestsTo](https://docs.aws.amazon.com/AmazonS3/latest/API/API_RedirectAllRequestsTo.html) - Storing data for [RoutingRule](https://docs.aws.amazon.com/AmazonS3/latest/API/API_RoutingRule.html) for a future implementation Or maybe we can implement everything in one shot?
quentin added the
S3 Compatibility
label 2023-04-20 11:31:39 +00:00
lx added the
Improvement
label 2023-04-20 15:54:32 +00:00
quentin self-assigned this 2023-06-15 07:37:11 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#547
No description provided.