View Single Post
Old 05-15-2009, 03:50 PM  
CYF
Coupon Guru
 
CYF's Avatar
 
Industry Role:
Join Date: Mar 2009
Location: Minneapolis
Posts: 10,973
Quote:
Originally Posted by AmateurSets View Post
Where in the httpd.conf while would I add ErrorDocument 404 /missing.html ?
My httpd.conf has a section like this, and I simply uncommented that line and reloaded apache.

#
# Customizable error response (Apache style)
# these come in three flavors
#
# 1) plain text
#ErrorDocument 500 "The server made a boo boo.
# n.b. the (") marks it as text, it does not get output
#
# 2) local redirects
ErrorDocument 404 /missing.html
# to redirect to local URL /missing.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl
# N.B.: You can redirect to a script or a document using server-side-includes.
CYF is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook