2

如何让我的 Apache 服务器返回 300 个多项选择响应?必须使用 .htaccess 并使用 PHP 页面作为错误页面来完成。

到目前为止,我得到了这个:

ErrorDocument 300 "/300.php"

有效 URL 为http://www.example.com/index.html,测试 URL 为http://www.example.com/index.php。当我使用测试 URL 时,我只收到 404 错误。我究竟做错了什么?

4

1 回答 1

2

看起来你想启用MultiViews

Options +MultiViews
于 2012-09-25T21:24:25.853 回答