All pastes #355223 Raw Edit

apache2.conf

public text v1 · immutable
·published 2007-02-14 10:58 UTC
rendered paste body
error.log:
[Wed Feb 14 11:25:34 2007] [error] [client 127.0.1.1] File does not exist: /home/xam/public_html2/dddd
[Wed Feb 14 11:26:26 2007] [notice] caught SIGTERM, shutting down
[Wed Feb 14 11:26:27 2007] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations
.....
apache2.conf

<IfModule mod_negotiation.c>
<IfModule mod_include.c>
    #Alias /error/ "/usr/share/apache2/error/"
    Alias /error2/ "/usr/share/apache2/error2/"

    
   
<Directory "/usr/share/apache2/error2">
        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 /error2/HTTP_BAD_REQUEST.html.var
    ErrorDocument 401 /error2/HTTP_UNAUTHORIZED.html.var
    ErrorDocument 403 /error2/HTTP_FORBIDDEN.html.var
    ErrorDocument 404 /error2/HTTP_NOT_FOUND.html.var
    ErrorDocument 405 /error2/HTTP_METHOD_NOT_ALLOWED.html.var
    ErrorDocument 408 /error2/HTTP_REQUEST_TIME_OUT.html.var
    ErrorDocument 410 /error2/HTTP_GONE.html.var
    ErrorDocument 411 /error2/HTTP_LENGTH_REQUIRED.html.var
    ErrorDocument 412 /error2/HTTP_PRECONDITION_FAILED.html.var
    ErrorDocument 413 /error2/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
    ErrorDocument 414 /error2/HTTP_REQUEST_URI_TOO_LARGE.html.var
    ErrorDocument 415 /error2/HTTP_SERVICE_UNAVAILABLE.html.var
    ErrorDocument 500 /error2/HTTP_INTERNAL_SERVER_ERROR.html.var
    ErrorDocument 501 /error2/HTTP_NOT_IMPLEMENTED.html.var
    ErrorDocument 502 /error2/HTTP_BAD_GATEWAY.html.var
    ErrorDocument 503 /error2/HTTP_SERVICE_UNAVAILABLE.html.var
    ErrorDocument 506 /error2/HTTP_VARIANT_ALSO_VARIES.html.var

</IfModule>
</IfModule>