The syntax is,
ErrorDocument <3-digit-code> action
where the action can be,
1. Text to be displayed. Prefix the text with a quote ("). Whatever follows the quote is displayed. Note: the (") prefix isn't displayed.
2. An external URL to redirect to.
3. A local URL to redirect to.
Das ist Fall 1
ErrorDocument 404 error404.html
Das auch
ErrorDocument 404 .\error404.html
3. funktioniert so
ErrorDocument 404 /error404.html
d.h. die Datei error404.html muss im Hauptverzeichnis(DOCUMENT_ROOT) der jeweiligen Domain liegen.
Grüße Oesi
Ich weiß, dass ich nichts weiß... (Sokrates)
als Antwort auf: [#147563]