挣扎。帮助!
在 index.php 中:
require "cachedPages/home.html";
如果我访问:https : //websiteaddress.org/index.php,那么它工作正常。
如果我访问:https : //websiteaddress.org,则会收到内部服务器错误。
我想这是一个 .htaccess 的东西。我所拥有的只是一些 cpanel php72 代码和:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
DirectoryIndex index.php
如果您直接调用 index.php 与为您调用它的 .htaccess 相比,它的调用方式似乎有所不同?!?
有任何想法吗?
守候你守候我
隔江千里