找回密码
 新建账号

Apache Multiple Choices

[复制链接]
php 发表于 2018/5/19 21:36 | 显示全部楼层 |阅读模式
Apache httpd Apache HTTP Server
Multiple Choices
The document name you requested (/chrome/binary) could not be found on this server. However, we found documents with names similar to the one you requested.
Available documents:
/chrome/binary.php (common basename)
方法一 在生效的Apache配置文件(httpd.conf)中添加一条配置
  1. CheckSpelling Off
复制代码
This directive enables or disables the spelling module. When enabled, keep in mind that
  • the directory scan which is necessary for the spelling correction will have an impact on the server's performance when many spelling corrections have to be performed at the same time.
  • the document trees should not contain sensitive files which could be matched inadvertently by a spelling "correction".
  • the module is unable to correct misspelled user names (as in http://wuxiancheng.cn/~apahce/), just file names or directory names.
  • spelling corrections apply strictly to existing files, so a request for the <Location "/status"> may get incorrectly treated as the negotiated file "/stats.html".
方法二 在生效的Apache配置文件(httpd.conf)中添加一条配置
  1. ErrorDocument 300 "AMBIGUOUS REQUEST"
复制代码
如果服务器AllowOverride配置允许,以上两种方法中的配置指令也可以放到.htaccess文件中。

手机版|轻松E站

GMT+8, 2024/12/22 01:06

快速回复 返回顶部 返回列表