【发布时间】:2016-02-10 10:02:32
【问题描述】:
所以我正在创建一个新网站Link,但由于某种原因,没有文件夹具有完整的 SSL 图标。顶级 index.php 文件有锁,但文件夹内的任何内容,例如 /blog,都有部分 ssl。它有锁,但由于“有人可以更改此页面的外观”类型错误而将其隐藏。请帮忙,因为我不知道为什么会这样。我确实使用 cloudflare,并设置了 http://qualexcraft.tk/* 页面规则来强制使用 https。
更新:现在没有文件夹或文件具有完全锁定
对于任何感兴趣的人,这是我的 htaccess 文件:
# Do not remove this line, otherwise mod_rewrite rules will stop working
RewriteBase /
ErrorDocument 404 http://qualexcraft.tk/404
# Redirect www urls to non-www
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.qualexcraft\.tk [NC]
RewriteRule (.*) https://qualexcraft.tk/$1 [R=301,L]
目录结构:
index.php
404
index.php
old.php
资产
images
博客
allPosts
index.php
包括
headers
head.html
index.html
layout
footer.html
navbar.html
地图
mdl
[mdl files]
【问题讨论】:
-
您的页面中的链接不多...但
/mdl/material.min.js没问题... -
在您的
blogpage:http://placehold.it/512x176更改它,使用https或//placehold.it/512x176 -
试试 /blog,至少在 Chrome 上不起作用
-
好的,让我试试。问题是,在放置占位符之前它也不起作用。我的第二个编辑器只是把它放进去。试试我的 /404 文件夹,没有完整的 SSL,有“人们可以更改内容”类型的东西。
-
还是不行。有什么想法吗?
标签: apache .htaccess ssl cloudflare