Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/drupal/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Drupal page赢得';不要停留在https,重定向循环_Drupal_Ssl_Https - Fatal编程技术网

Drupal page赢得';不要停留在https,重定向循环

Drupal page赢得';不要停留在https,重定向循环,drupal,ssl,https,Drupal,Ssl,Https,在Drupal6站点上,我们无法理解为什么除了主页之外的页面拒绝使用https访问。访问站点上的任何页面(主页除外),都会立即通过http重定向回自身 Apache已使用有效的SSL证书正确设置 我肯定不是.htaccess文件。没有关于https或端口443的重写规则 我添加了$conf['https']=TRUE;转到settings.php 我安装了安全页面模块,并将其配置为保护我们想要的页面,但它会导致重定向循环以浏览器错误结束 我看不到其他与http和https相关的模块 我找不到任

在Drupal6站点上,我们无法理解为什么除了主页之外的页面拒绝使用https访问。访问站点上的任何页面(主页除外),都会立即通过http重定向回自身

  • Apache已使用有效的SSL证书正确设置

  • 我肯定不是.htaccess文件。没有关于https或端口443的重写规则

  • 我添加了$conf['https']=TRUE;转到settings.php

  • 我安装了安全页面模块,并将其配置为保护我们想要的页面,但它会导致重定向循环以浏览器错误结束

  • 我看不到其他与http和https相关的模块

  • 我找不到任何关于基本URL的管理员设置,这些设置将强制执行此行为


我在服务器管理、LAMP软件方面有很多经验,在Drupal方面也有一些经验,但这一点让我感到困惑。任何提示或建议都会对我有很大帮助。

检查settings.php中的基本url是否设置为http地址。这可能导致此行为。

不幸的是,未设置此选项。它仍然用默认设置注释掉了。为了确保它不在其他地方,我对base_url和域的代码进行了grep,但没有想到任何东西。