以前也发生过这种情况,一些邮件服务器会告诉您您的 IP 已被列入黑名单(RBL、CBL 等),但我无法再找到该站点进行检查,并且搜索结果的站点可能合法,也可能不合法。
我有一个简单的 .htaccess 文件,它在网站的 http 版本上运行良好,但在我转到 https 时却没有。为什么?
RewriteEngine on
#This is so if the file exists then use the file
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ %{REQUEST_FILENAME} [L]
#These conditions check if a file or folder exists just for reference
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#if someone adds ".php" to the slug get rid of it
RewriteRule ^(.*)\.php$ $1
#don't add the [R] here because we don't want it to redirect
RewriteRule ^(.*)$ index.php?id=$1 [L,QSA]
Run Code Online (Sandbox Code Playgroud) 我想让设置新的子域变得容易(至少在开发方面)并获得一个通配符证书,设置一个通配符 dns(已经完成并且效果很好)和设置 SNI(服务器名称指示)似乎是这样将适用于我们的 HTTPS 测试,但在谷歌上搜索我没有找到任何好的说明。这甚至可能吗?我读到的关于 SNI 的所有内容都说您需要为每个站点设置一个证书,而 SNI 只是可以根据主机名提供不同的证书。