我在站的跟目录做了 404.html
而且网站开起了 伪静功能.apache也支持url重写.但是就是
也加了.htaccess文件里满加了下面的规则ErrorDocument 404 /404.html   apahce虚拟主机下也配置了这个.但是就是没用.<VirtualHost *:80>
 ServerName www.xxx.com
 DocumentRoot "D:/htmlp"
 ErrorDocument 404 404.html
<Directory "D:/htmlp">
 Options FollowSymLinks IncludesNOEXEC Indexes
 DirectoryIndex index.html index.htm default.htm index.php default.php index.cgi default.cgi index.shtml index.aspx default.aspx  
 AllowOverride all Order Deny,Allow
 Allow from all
 php_admin_value open_basedir "D:/htmlp/;D:/APMServ5.2.6/tmp/uploadtemp/;"
 php_admin_value safe_mode On
</Directory>
</VirtualHost>
为什么还是不起作用啊404.html