亚马逊EC2 Ubuntu与Apache;“禁止”;403
我正在安装AWS Ubuntu服务器 我安装了apache2、mysql、php和phpmyadmin 我可以访问/var/www 但不在/var/www/othersubfolder下 它会说:禁止 我用以下内容更新了apache2.conf:亚马逊EC2 Ubuntu与Apache;“禁止”;403,apache,amazon-ec2,http-status-code-403,Apache,Amazon Ec2,Http Status Code 403,我正在安装AWS Ubuntu服务器 我安装了apache2、mysql、php和phpmyadmin 我可以访问/var/www 但不在/var/www/othersubfolder下 它会说:禁止 我用以下内容更新了apache2.conf: <Directory /var/www/> Allow from all </Directory> 通融 我缺少什么?如果您使用的是apache 2.4+,则需要将其添加到允许/拒绝规则中: Require all
<Directory /var/www/>
Allow from all
</Directory>
通融
我缺少什么?如果您使用的是apache 2.4+,则需要将其添加到允许/拒绝规则中:
Require all granted
是的
<Directory /home/user/path>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
Require all granted
</Directory>
选项索引跟随符号链接多视图
允许超越所有
命令允许,拒绝
通融
要求所有授权
如果您使用的是apache 2.4+,则需要将其添加到允许/拒绝规则中:
Require all granted
是的
<Directory /home/user/path>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
Require all granted
</Directory>
选项索引跟随符号链接多视图
允许超越所有
命令允许,拒绝
通融
要求所有授权