Logging237Use the Error Code section to configure Apache HTTP Server to redirect the client to a local orexternal URL in the event of a problem or error. This option corresponds to the ErrorDocument5directive. If a problem or error occurs when a client tries to connect to the Apache HTTP Server, thedefault action is to display the short error message shown in the Error Code column. To overridethis default configuration, select the error code and click the Edit button. Choose Default to displaythe default short error message. Choose URL to redirect the client to an external URL and enter acomplete URL, including the http://, in the Location field. Choose File to redirect the client to aninternal URL and enter a file location under the document root for the Web server. The location mustbegin the a slash (/) and be relative to the Document Root.For example, to redirect a 404 Not Found error code to a webpage that you created in a filecalled 404.html, copy 404.html to DocumentRoot/../error/404.html. In this case,DocumentRoot is the Document Root directory that you have defined (the default is /var/www/html/). If the Document Root is left as the default location, the file should be copied to /var/www/error/404.html. Then, choose File as the Behavior for 404 - Not Found error code and enter /error/404.html as the Location.From the Default Error Page Footer menu, you can choose one of the following options:• Show footer with email address — Display the default footer at the bottom of all error pages alongwith the email address of the website maintainer specified by the ServerAdmin6 directive. Refer toSection 24.3.1.1, “General Options” for information about configuring the ServerAdmin directive.• Show footer — Display just the default footer at the bottom of error pages.• No footer — Do not display a footer at the bottom of error pages.24.2.2. LoggingUse the Logging tab to configure options for specific transfer and error logs.By default, the server writes the transfer log to the /var/log/httpd/access_log file and the errorlog to the /var/log/httpd/error_log file.The transfer log contains a list of all attempts to access the Web server. It records the IP addressof the client that is attempting to connect, the date and time of the attempt, and the file on the Webserver that it is trying to retrieve. Enter the name of the path and file in which to store this information.If the path and file name do not start with a slash (/), the path is relative to the server root directory asconfigured. This option corresponds to the TransferLog7 directive.5 http://httpd.apache.org/docs-2.0/mod/core.html#errordocument7 http://httpd.apache.org/docs-2.0/mod/mod_log_config.html#transferlog