Apache Error Documents
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Error Documents




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Apache Error Documents  
Daniel S.


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-22-04 04:33 PM

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







[ Post a follow-up to this message ]



    Re: Apache Error Documents  
Davide Bianchi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-22-04 10: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
|
|





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:21 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register