1 / 3
Caption Text
2 / 3
Caption Two
3 / 3
Caption Three margin testing

Wednesday, August 4, 2010

How to Set Up A Custom 404 File Not Found Page on Apache

http://webdesign.about.com/od/apache/ht/ht404apache.htm
  1. Create a Web page that will be your 404 document.
  2. Open yourhttpd.conffile or .htaccess for editing.
  3. Find the line that reads (or add the line)
     ErrorDocument 404 /404.html
  4. Change the third entry to the URI you would like to display, e.g.
     ErrorDocument 404 /new_404.html
  5. Restart your Web server if necessary.

No comments:

Post a Comment

Featured Post

Windows和Ubuntu双系统完全独立的安装方法

http://www.ubuntuhome.com/windows-and-ubuntu-install.html  | Ubuntu Home Posted by Snow on 2012/06/25 安装Windows和Ubuntu双系统时,很多人喜欢先安装windows,然...