gpt4 book ai didi

ssl - gitorious 拒绝使用 https 的新 bitnami 设置、亚马逊 ec2 实例的权限

转载 作者:太空宇宙 更新时间:2023-11-03 15:03:27 25 4
gpt4 key购买 nike

这是在 EC2 上全新安装的 bitnami gitorius 镜像,在我尝试启用 https/ssl 之前工作正常。

我确定我以某种方式错误配置了 apache,但是根文档位于 https://tarantula.anatexis.net加载得很好。

但是如果一个人去 https://tarantula.anatexis.net/gitorious 的 gitorious 应用程序您的权限被拒绝。

我应该编辑哪个配置文件以允许 https 流量到 gitorious。

查看 apache 日志,看到这个,

[Mon Jun 03 17:25:20 2013] [error] [client 71.17.13.29] Directory index forbidden by Options directive: /opt/bitnami/apache2/htdocs/gitorious/, referer:Https://tarantula.anatexis.net/

任何帮助将不胜感激,谢谢乔

最佳答案

好的,所以我修复了它,找到文件/opt/bitnami/apache2/conf/extra/httpd-ssl.conf 这个配置文件中有用于 ssl 流量的文档根目录,默认是错误的,它需要改为

DocumentRoot "/opt/bitnami/apps/gitorious/htdocs/public"

这解决了我认为的所有问题。

关于ssl - gitorious 拒绝使用 https 的新 bitnami 设置、亚马逊 ec2 实例的权限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16902756/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com