使用Drupal的密码访问不适用于AWS Cloudfront网站 [英] Password access not working with AWS Cloudfront website using Drupal

查看:72
本文介绍了使用Drupal的密码访问不适用于AWS Cloudfront网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用AWS Cloudfront配置的Drupal网站.

I have a Drupal website that's been configured with AWS Cloudfront.

我的问题是,现在没有密码访问CMS.该页面要求输入用户名/密码,然后单击登录"按钮,并显示访问被拒绝"消息.

My problem is that now passworded access to the CMS is not happening. The page asks for the username/password and then I click on the "Login" button and it gives me "access denied" message.

密码很好,所以我确定这是一个Cloudfront问题.谁能帮我为什么会这样?

The password is fine so I'm sure this is a Cloudfront problem. Can anyone please assist me why this is happening?

推荐答案

发生的问题是身份验证标头和Cookie没有从Cloud Front Distribution转发到父服务器.将来源,主机,引荐来源网址,授权标头和转发所有cookie列入白名单将解决此问题.

The issue happening is with Authentication headers and Cookies not being forwarded to the parent server from the Cloud Front Distribution. Whitelisting Origin, Host, Referrer, Authorization Headers and Forwarding all cookies will fix this issue.

这篇关于使用Drupal的密码访问不适用于AWS Cloudfront网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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