PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : error 404



localhost
27.10.02, 14:18
wie kann ich in der httpd.conf die error 404 einstellen und muss die hin .

# 2) local redirects
#ErrorDocument 404 /erro.html
# to redirect to local URL /erro.html
#ErrorDocument 404 /erro.html
# N.B.: You can redirect to a script or a document using server-side-includes.#

das geht nicht ich hab die erro.html im www verzeichnis was mache ich falch ?

localhost
27.10.02, 15:24
# End of document types.

# Default charset to iso-8859-1 (ttp://www.apache.org/info/css-security/).

AddDefaultCharset on

#
# Action: lets you define media types that will execute a script whenever
# a matching file is called. This eliminates the need for repeated URL
# pathnames for oft-used CGI file processors.
# Format: Action media/type /cgi-script/location
# Format: Action handler-name /cgi-script/location
#
#

# MetaDir: specifies the name of the directory in which Apache can find
# meta information files. These files contain additional HTTP headers
# to include when sending the document
#
#MetaDir .web
#
#
# MetaSuffix: specifies the file name suffix for the file containing the
# meta information.
#
# MetaSuffix .meta
#
#
# 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 /erro.html
# to redirect to local URL /erro.html
#ErrorDocument 404 /erro.html
# N.B.: You can redirect to a script or a document using server-side-includes.
#
# 3) external redirects
#ErrorDocument 402 erro.html
# N.B.: Many of the environment variables associated with the original
# request will *not* be available to such a script.
#



Immer wenn ich hier was aukommetire geht der apache nicht mer

localhost
27.10.02, 18:49
?