Forum

> > Off Topic > Error Page erstellen?
Forums overviewOff Topic overviewLog in to reply

German Error Page erstellen?

2 replies
To the start Previous 1 Next To the start

old Error Page erstellen?

Icereed
User Off Offline

Quote
>Also,
Ich hätte eine frage.
Wie konfiguriere ich meinen Server(Apache) so,
dass er beim Fehlerfall auf eine andere Seite verweißt?

Jedem der Antwortet gebe ich einen cookie

old Re: Error Page erstellen?

jeepohahyo
User Off Offline

Quote
Steht schon in der httpd.conf des Apache

1
2
3
4
5
6
7
8
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html

Einfach so wie das im Kommentar steht schreiebn, aso z.B.

1
ErrorDocument 404 "/404.php"
Um bei einem Error 404 die Datei 404.php im Server-Root anzuzeigen
To the start Previous 1 Next To the start
Log in to replyOff Topic overviewForums overview