raksmart活动促销

分享

写回答

发帖

hostease,怎么让404错误页面没最底下的apache/xxx php/xx等?

国外虚拟主机 国外虚拟主机 1519 人阅读 | 2 人回复

发表于 2010-6-18 17:43:32 | 显示全部楼层 |阅读模式

Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request
Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 mod_perl/2.0.4 Perl/v5.8.8 Server at www.xxx.com Port 80

回答|共 2 个

add.c

发表于 2010-6-18 17:50:30 | 显示全部楼层

自定义一个404页面就行

goldstein

发表于 2010-6-18 20:45:32 | 显示全部楼层

  1. ErrorDocument 400 /whatthephuck.htm
  2. ErrorDocument 401 /whatthephuck.htm
  3. ErrorDocument 403 /whatthephuck.htm
  4. ErrorDocument 404 /whatthephuck.htm
  5. ErrorDocument 500 /whatthephuck.htm
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则