{"id":625,"date":"2020-04-03T09:00:00","date_gmt":"2020-04-03T00:00:00","guid":{"rendered":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2020\/04\/03\/url_normalization_of_s3_website_with_lambda_at_edge"},"modified":"2020-04-03T09:00:00","modified_gmt":"2020-04-03T00:00:00","slug":"url_normalization_of_s3_website_with_lambda_at_edge","status":"publish","type":"post","link":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2020\/04\/03\/url_normalization_of_s3_website_with_lambda_at_edge\/","title":{"rendered":"\u9759\u7684\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u306b\u304a\u3051\u308bURL\u6b63\u898f\u5316\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u5b9f\u65bd"},"content":{"rendered":"

\u306f\u3058\u3081\u306b<\/h2>\n

\u897f\u85e4\u3067\u3059\u3002<\/p>\n

\u9ad8\u53ef\u7528\u6027\u306e\u3042\u308b\u9759\u7684\u306a\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3092\u5b9f\u73fe\u3057\u305f\u3044\u6642\u306b\u306f\u3001Amazon S3\u3068CloudFront\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002
\n\u305f\u3060\u3057\u3001\u305d\u306e\u3088\u3046\u306a\u69cb\u6210\u3092\u53d6\u3063\u305f\u3068\u304d\u306b\u306f\u305f\u3068\u3048\u3070Apache\u30b5\u30fc\u30d0\u30fc\u3067\u69cb\u7bc9\u3057\u305f\u6642\u306e\u3088\u3046\u306a .htaccess<\/code>\u3092\u4f7f\u3063\u305f\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u8a2d\u5b9a\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n

\u307e\u305f\u3001Amazon S3\u306e\u9759\u7684\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u306e\u6a5f\u80fd\u306e\u300c\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30eb\u300d\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u6b63\u898f\u8868\u73fe\u306b\u3088\u308b\u30eb\u30fc\u30eb\u8a2d\u5b9a\u3092\u30ab\u30d0\u30fc\u3057\u3066\u304a\u3089\u305a\u3001\u8a2d\u5b9a\u3059\u308b\u30eb\u30fc\u30eb\u6570\u304c\u81a8\u308c\u3066\u3057\u307e\u3044\u304c\u3061\u3067\u3059\u3002<\/p>\n

\u305f\u3068\u3048\u3070\u3001
\nexample.com\/test\/index.html<\/code>\u306fexample.com\/test\/<\/code><\/p>\n

example.com\/test2\/index.html<\/code>\u306fexample.com\/test2\/<\/code><\/p>\n

\u306e\u3088\u3046\u306b "index.html" \u306e\u6709\u308a\u3001\u306a\u3057\u3092\u63c3\u3048\u305f\u6b63\u898f\u5316\u3092\u884c\u3044\u305f\u3044\u5834\u5408\u306f<\/p>\n