403 Forbidden : 您无权访问此资源

时间:2021-02-08 08:49:34

标签: ruby apache2

我需要创建一个站点,但是当我启动 apache2 服务时,我没有权限。 我的网站包含 ruby​​ 和 apache,我的 apache2 需要 ruby​​ 应用程序

那是我的 apache2 配置。

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>

<Directory /usr/share>
    AllowOverride None
    Require all granted
</Directory>

<Directory /var/www/Pass>
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>

/Pass 是我的 ruby​​ 应用程序文件夹。

谢谢你的帮助!

1 个答案:

答案 0 :(得分:0)

对不起,我上次不在我的 linux 上...我安装了 install_passenger_apache2 并且我有这个

enter image description here