Editing Error page (500) and (404).

Editing Error page (500) and (404).

I was able to edit (500) error page and (404) error page by adding the following to "httpd.conf":

 

Alias /error/include/ "F:/PROGRA~1/ADVENT~1/ME/OPMANA~1/Error"

 

    <Directory "Error">

        AllowOverride None

        Options IncludesNoExec

        AddOutputFilter Includes html

        AddHandler type-map var

        Order allow,deny

        Allow from all

        LanguagePriority en es de fr sv

        ForceLanguagePriority Prefer Fallback

    </Directory>

 

    ErrorDocument 404 /error/NotFound.html

    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html

 

Within the directory of "Error" I've created two html files that state the word "Test". When restarting Opmanager services I was able to bring up this ErrorDocument 500 page stating "Test" within another computer on the domain.

 

My question to you, will this affect anything else by editing the "httpd.conf" located within the apache?

                  New to ADSelfService Plus?