亚马逊 S3 和 .htaccess [英] Amazon S3 and .htaccess
问题描述
我在 Amazon S3 上托管了一个网站(iWeb 制造).我试图让 www.domain.com/Apps/Physics.html
变成 www.domain.com/Apps/Physics
.
I have a site (Made in iWeb) that I am hosting on Amazon S3. I am trying to get www.domain.com/Apps/Physics.html
to turn into www.domain.com/Apps/Physics
.
我正在尝试使用 .htaccess 文件来完成此操作.该文件存储在存储桶的根目录中(index.html 文件所在的位置).问题是:它不起作用.仍然无法使用 www.domain.com/Apps/Physics
.
I am trying to accomplish this with an .htaccess file. The file is stored in the root of the bucket (where the index.html file is). Here's the problem: It doesn't work. Still can't use www.domain.com/Apps/Physics
.
我有一个托管在 S3 服务器上的 GoDaddy 域.这有帮助吗?
I have a GoDaddy domain, hosted on the S3 server. Does this help?
推荐答案
S3 是内容服务器,不是 Web 服务器.您可能想尝试使用 Apache 租用一个小型 Amazon EC2 实例来做您想做的事.
S3 is a content server and not a web server. You may want to try renting a small Amazon EC2 instance with Apache to do what you want.
这篇关于亚马逊 S3 和 .htaccess的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!