Apache Server configuration support - Apache Error Documents

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > February 2004 > Apache Error Documents





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache Error Documents
Daniel S.

2004-02-22, 11:33 am

Hi,

i tried to configure Apache's Error Documents... but it doesnt work...
first my config...

<IfModule mod_negotiation.c>
<IfModule mod_include.c>
Alias /error/ "C:/Programme/Apache Group/Apache2/error/"

<Directory "C:/Programme/Apache Group/Apache2/error">
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en es de fr
ForceLanguagePriority Prefer Fallback
</Directory>

ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
ErrorDocument 410 /error/HTTP_GONE.html.var
ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
ErrorDocument 415 /error/HTTP_SERVICE_UNAVAILABLE.html.var
ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var

</IfModule>
</IfModule>

it gives me this error

[Mon Feb 23 02:06:48 2004] [error] [client xxx.xxx.xxx.xxx] unable to
include potential exec "include/bottom.html" in parsed file
C:/Programme/Apache Group/Apache2/error/HTTP_NOT_FOUND.html.var

anyone know what i do wrong? plz help me

thanks


Davide Bianchi

2004-02-22, 5:33 pm

Daniel S. <ds133@madonnaworld.de> wrote:
> [Mon Feb 23 02:06:48 2004] [error] [client xxx.xxx.xxx.xxx] unable to
> include potential exec "include/bottom.html" in parsed file
> C:/Programme/Apache Group/Apache2/error/HTTP_NOT_FOUND.html.var


You are including a file from your error document, problem is that
the included file can't be found (wrong path?).

Davide

--
| If all else fails, immortality can always be assured by spectacular
| error. -- John Kenneth Galbraith
|
|
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com