网站显示 'Default OaO frameset' 作为标题

Website displaying 'Default OaO frameset' as title

我最近将我网站上的 .htaccess 文件修改为:

ErrorDocument 404 http://www.example.co.uk/404.php

其中 example.co.uk 是我用实际域替换的。现在,每当我访问该网站时,它只会显示标题为 'Default OaO frameset' 的 404 页面。我的web.config文件如下:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <defaultDocument enabled="true">
            <files>
                <clear />
                <add value="index.aspx" />
                <add value="index.asp" />
                <add value="index.htm" />
                <add value="index.html" />
                <add value="index.php" />
                <add value="home.aspx" />
                <add value="home.asp" />
                <add value="home.htm" />
                <add value="home.html" />
                <add value="home.php" />
                <add value="default.aspx" />
                <add value="default.asp" />
                <add value="default.htm" />
                <add value="default.html" />
                <add value="default.php" />
            </files>
        </defaultDocument>
        <security>
            <authentication>
                <basicAuthentication enabled="true" />
            </authentication>
        </security>
        <httpErrors errorMode="Custom">
            <remove statusCode="404" subStatusCode="-1" />
            <error statusCode="404" prefixLanguageFilePath="" path="/OaOInternal/DefaultWebs/sedoCurrent/Error404.aspx" responseMode="ExecuteURL" />
        </httpErrors>
    </system.webServer>
</configuration>

1&1 接待我。到目前为止,我已经尝试删除 .htaccess 文件,但除了让主域只显示标题为 'Default OaO frameset'.

的空白屏幕外,它没有任何效果。

非常感谢任何帮助 - 我不知道该怎么做。

我现在已经修复了它,下面是我为将来需要它的任何人做的:

我添加了这一行:

DirectoryIndex index.php

到我的网站空间根目录中的 .htaccess 文件。这样,它将索引页面设置为 index.php,以某种方式覆盖 web.config 文件并显示 index.php 作为域名的默认页面。