Folgende Varianen für die Fehlerdateien habe ich geprüft.
Solltest Du das orginale Config file geöffnet haben... ich haeb auch Document Root wieder auf d:/web gesetzt.
Kann also mit der URL http://myserver/error/404.html auf die Fehler Datei zugreifen
Bei Angabe http://mydomain/keine.html die e nicht gibt, wird nur ein 404 Fehler gemeldet die Fehlerseite jedoch nicht angezeigt. Keine der folgenden Varianten hat eine Lösung bewirkt
Variante 1.
Alias /error/ "d:/web/error/"
<Directory "d:/web/error/">
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en de es fr it nl sv
ForceLanguagePriority Prefer Fallback
</Directory>
ErrorDocument 404 /error/404.html
Variante 2
Alias /error/ "d:\web\error"
<Directory "d:\web\error">
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en de es fr it nl sv
ForceLanguagePriority Prefer Fallback
</Directory>
ErrorDocument 404 /error/404.html
Variante 3
Alias /error "d:/web/error"
<Directory "d:/web/error">
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en de es fr it nl sv
ForceLanguagePriority Prefer Fallback
</Directory>
ErrorDocument 404 /error/404.html
Variante 4
Alias /error/ d:/web/error/
<Directory "d:/web/error/">
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en de es fr it nl sv
ForceLanguagePriority Prefer Fallback
</Directory>
ErrorDocument 404 /error/404.html
Variante 5
Alias /error d:/web/error
<Directory d:/web/error>
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en de es fr it nl sv
ForceLanguagePriority Prefer Fallback
</Directory>
ErrorDocument 404 /error/404.html
Einge der Varianten scheine auch mir klar, dass die nicht gehen aber was versucht man aus verzweiflung nicht alles....
Die Fehler Dati liegt im Verzeichnis d:/web/error/404.html
Document Root ist d:/web
über http://mydomain/error/404.html kann ich die Fehlerseite bekommen.
Die Fehler aus dem error log:
[Sun Jul 20 14:17:35 2003] [error] [client 80.145.79.89] File does not exist: D:/WEB/keine.html
[Sun Jul 20 14:17:36 2003] [error] [client 80.145.79.89] File does not exist: D:/WEB/keine.html
[Sun Jul 20 14:17:58 2003] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Jul 20 14:17:59 2003] [notice] Child 304: Exit event signaled. Child process is ending.
[Sun Jul 20 14:18:00 2003] [notice] Child 304: Released the start mutex
[Sun Jul 20 14:18:01 2003] [notice] Child 304: Waiting for 250 worker threads to exit.
[Sun Jul 20 14:18:01 2003] [notice] Child 304: All worker threads have exited.
[Sun Jul 20 14:18:01 2003] [notice] Child 304: Child process is exiting
[Sun Jul 20 14:18:01 2003] [notice] Parent: Child process exited successfully.
[Sun Jul 20 14:18:04 2003] [notice] Parent: Created child process 457
[Sun Jul 20 14:18:05 2003] [notice] Child 457: Child process is running
[Sun Jul 20 14:18:06 2003] [notice] Child 457: Acquired the start mutex.
[Sun Jul 20 14:18:06 2003] [notice] Child 457: Starting 250 worker threads.
[Sun Jul 20 14:18:08 2003] [error] [client 80.145.79.89] File does not exist: D:/WEB/keine.html
[Sun Jul 20 14:18:09 2003] [error] [client 80.145.79.89] File does not exist: D:/WEB/keine.html
Die access.log:
80.145.79.89 - - [20/Jul/2003:14:16:25 +0100] "GET /error/404.html HTTP/1.1" 200 234
80.145.79.89 - - [20/Jul/2003:14:16:32 +0100] "GET /keine.html HTTP/1.1" 404 14
80.145.79.89 - - [20/Jul/2003:14:17:35 +0100] "GET /keine.html HTTP/1.1" 404 14
80.145.79.89 - - [20/Jul/2003:14:17:36 +0100] "GET /keine.html HTTP/1.1" 404 14
80.145.79.89 - - [20/Jul/2003:14:18:08 +0100] "GET /keine.html HTTP/1.1" 404 14
80.145.79.89 - - [20/Jul/2003:14:18:09 +0100] "GET /keine.html HTTP/1.1" 404 14
80.145.79.89 - - [20/Jul/2003:14:18:16 +0100] "GET /error/404.html HTTP/1.1" 304 0
Gruss matze