Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/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
.htaccess将https重定向到http网站未加载http_.htaccess_Ssl - Fatal编程技术网

.htaccess将https重定向到http网站未加载http

.htaccess将https重定向到http网站未加载http,.htaccess,ssl,.htaccess,Ssl,我在Godaddy上拥有我的域名,并在Amazon上托管,在Amazon服务器上安装了Godaddy的SSl证书。因此,每当我键入域名时,它都会带上https前缀。现在我想为我的网站禁用SSL/https。我用下面的代码尝试了同样的方法 RewriteEngine On RewriteCond %{HTTPS} on RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] 但在添加.htaccess文件后,mt网站停止加载。你能

我在Godaddy上拥有我的域名,并在Amazon上托管,在Amazon服务器上安装了Godaddy的SSl证书。因此,每当我键入域名时,它都会带上https前缀。现在我想为我的网站禁用SSL/https。我用下面的代码尝试了同样的方法

RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

但在添加.htaccess文件后,mt网站停止加载。你能在这方面帮助我吗

在测试之前是否清除了缓存?我在“匿名”窗口中测试了它。还是一样