我在站的跟目录做了 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
而且网站开起了 伪静功能.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
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货