- 论坛徽章:
- 0
|
OS: FreeBSD6.2
httpd:apache22
php:php5
如果打开
http://www.aaa.com/aaaaa.htm(文件存在) 正常
打开
http://www.aaa.com/bbb.htm(文件不存在) 出现 404错误 这也正常
但是问题出现在这里
发现
打开一个存在的文件,后面加上其它参数时例出了目录里的文件
http://www.aaa.com/aaaaa.htm ee (文件存在,但多增加了 ee 两字母)
这时候服务器就把目录里的文件例出来了
如我打开
http://xxx.xxx.xxx.xxx/index.htm ee出现了下面的提示
Multiple Choices
The document name you requested (/index.htm ee) could not be found on this server. However, we found documents with names similar to the one you requested.
Available documents:
/index.htm (common basename)
我晕倒了
httpd-vhosts.conf
<Directory "/data/www/mailroot/mailweb/html">
Options FollowSymLinks
#AllowOveride None
Order allow,deny
Allow from all
</Directory>
[ 本帖最后由 flfq 于 2007-7-12 01:43 编辑 ] |
|