mod-rewrite - Amazon S3 上的 Mod_rewrite

标签 mod-rewrite amazon-s3 amazon-web-services amazon

是否可以在 Amazon S3 上使用 mod_rewrite?

www.example.com/about.html -> mybucket.s3.amazon.com/index.html
www.example.com/welcome.html -> mybucket.s3.amazon.com/index.html
www.example.com/contact.html -> mybucket.s3.amazon.com/index.html

谢谢!

最佳答案

在这种情况下,您可以使用错误文档

enter image description here

关于mod-rewrite - Amazon S3 上的 Mod_rewrite,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5064698/

相关文章:

amazon-web-services - Codebuild - 构建简单的 hello world 项目

python - Boto3 Copy_Object 大小失败 > 5GB

amazon-web-services - 使用 consul-agent 和代理作为 sidecar 容器的 ECS fargate

apache - rewritecond 不适用于现有文件

apache - .htaccess 中的数基转换

javascript - AWS 上的分段上传和分块上传有什么区别?

python - 如何在以本地模式运行的 pyspark 中从 S3 读取数据?

.htaccess - htaccess RewriteRule 重定向到父目录?

apache - mod_rewrite - 防止多次重定向

java - Amazon AWA - 未发现类 Def 异常