【发布时间】:2017-02-14 13:02:37
【问题描述】:
我一直在努力让它适用于 Apache 2.4
我手动安装了 Apache 2.4、PHP 5.6、MySql 和 MySqli。 (因为我只用过MySqli,所以我没有遇到过mysql的问题)
我曾尝试仅将 cloudflare 列入白名单以访问我的网站,但我没有任何运气,而且由于他们的 IP 列表并不能完全满足我的需求,我无法将它们列入白名单。
我知道我不应该只将 cloudflare 列入白名单,但我不小心将 IP 分享给了某人,然后他们将其传播开来,我不希望他们直接使用该 ip,我希望他们使用 cloudflare。
我已尝试将 cloudflare 列入白名单,但没有奏效:
<Directory "C:/Apache24/htdocs/test">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require all denied
Allow from 103.21.*.*
Allow from 103.31.*.*
Allow from 103.22.*.*
Allow from 104.16.*.*
Allow from 108.162.*.*
Allow from 131.0.*.*
Allow from 141.101.*.*
Allow from 162.158.*.*
Allow from 172.64.*.*
Allow from 173.245.*.*
Allow from 188.114.*.*
Allow from 190.93.*.*
Allow from 197.234.*.*
Allow from 198.41.*.*
Allow from 199.27.*.*
</Directory>
我还没有完全理解从 2.2 到 2.4 的跳跃。有人可以帮帮我吗?
【问题讨论】:
标签: apache cloudflare apache2.4 whitelist apache2.2