当我尝试登录Drupal管理面板时,我收到访问被拒绝的问题。
登录成功但显示拒绝访问错误。
我先前通过截断会话表来解决它。但是现在即使截断会话表也没有用。
感谢提前!
答案 0 :(得分:1)
我刚评论了配置文件(主机文件)中的以下行。它开始工作了。
fastcgi_hide_header Set-Cookie;
谢谢!
答案 1 :(得分:0)
答案 2 :(得分:0)
It is probable an issue with a cookie.
If you are using chrome
(1) go to : chrome://settings/cookies.
(2) paste the link of your website.
(3) delete the session cookie.
(4) Try access your site again and Enjoy! :)
答案 3 :(得分:0)
I had a problem of access denied when I tried to move my code from production to staging. I had to clear the cache and this helped me.
Goto sitename/user/login and login
using your credentials.
The link to the website may be broken.
Goto sitename/admin/config/development/performance
and clear the cache
If you are using chrome, then clear the cache in too.
答案 4 :(得分:0)
转到settings.php文件,检查$ cookie_domain是否设置为正确的域名。
这对我有用。