Use the Error Code section to configure Apache HTTP Server to redirect the client to a local or
external URL in the event of a problem or error. This option corresponds to the
directive. If a problem or error occurs when a client tries to connect to the Apache HTTP Server, the
default action is to display the short error message shown in the Error Code column. To override
this default configuration, select the error code and click the Edit button. Choose Default to display
the default short error message. Choose URL to redirect the client to an external URL and enter a
complete URL, including the http://, in the Location field. Choose File to redirect the client to an
internal URL and enter a file location under the document root for the Web server. The location must
begin 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 file
called 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 along
with the email address of the website maintainer specified by the
• 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.
22.4.2.2. SSL Support
The mod_ssl enables encryption of the HTTP protocol over SSL. SSL (Secure Sockets Layer)
protocol is used for communication and encryption over TCP/IP networks. The SSL tab enables you to
configure SSL for your server. To configure SSL you need to provide the path to your:
• Certificate file - equivalent to using the SSLCertificateFile directive which points the path to
the PEM (Privacy Enhanced Mail)-encoded server certificate file.
• Key file - equivalent to using the SSLCertificateKeyFile directive which points the path to the
PEM-encoded server private key file.
• Certificate chain file - equivalent to using the SSLCertificateChainFile directive which points
the path to the certificate file containing all the server's chain of certificates.
• Certificate authority file - is an encrypted file used to confirm the authenticity or identity of parties
communicating with the server.
You can find out more about configuration directives for SSL on
8
directives.html#S
. You also need to determine which SSL options to enable. These are equivalent to
using the SSLOptions with the following options:
• FakeBasicAuth - enables standard authentication methods used by Apache. This means that
the Client X509 certificate's Subject Distinguished Name (DN) is translated into a basic HTTP
username.
6
http://httpd.apache.org/docs/2.2/mod/core.html#errordocument
8
http://httpd.apache.org/docs/2.2/mod/directives.html#S
Default Settings
ErrorDocument
7
directive.
ServerAdmin
http://httpd.apache.org/docs/2.2/mod/
6
323
Need help?
Do you have a question about the ENTERPRISE LINUX 5 - DEPLOYMENT and is the answer not in the manual?
Questions and answers