亚马逊S3和.htaccess [英] Amazon S3 and .htaccess

查看:155
本文介绍了亚马逊S3和.htaccess的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网站(产地的iWeb),我托管在Amazon S3。我试图让 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.

任何帮助吗?是否有其他更好的方式来做到这一点?

Any help? Is there another, better way to do this?

编辑:这里有一个更好的看我的情况。我有一个GoDaddy的域名,托管在S3服务器上。这是否帮助?

Here's a better look at my situation. I have a GoDaddy domain, hosted on the S3 server. Does this help?

推荐答案

S3是内容服务器和不可以 Web服务器。你可能想尝试租用一个小亚马逊EC2实例与Apache做你想做什么。

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆