1.4.4 Configuring an Existing HTTP Server

Note

This procedure assumes that the system is already configured as an Apache HTTP server. For other types of HTTP server, you will need to modify the steps for the server's configuration.

To configure an existing Apache HTTP server:

  1. Under the DocumentRoot hierarchy that is defined in the HTTP server configuration file (/etc/httpd/conf/httpd.conf), create the directory where you will copy the full Oracle Linux Release 6 Media Pack DVD image, for example /var/www/html/OSimage/OL6.6:

    # mkdir -p /var/www/html/OSimage/OL6.6

  2. Edit the HTTP server configuration file, /etc/httpd/conf/httpd.conf, and add a <Directory> section, for example:

    <Directory "/var/www/html/OSimage/OL6.6">
        Options Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    Place this section after the closing </Directory> statement for the <Directory DocumentRoot> section.

    Note

    The Indexes option is not required for installation. Specify this option if you want to be able to browse the directory hierarchy.

  3. Reload the Apache HTTP server.

    # service httpd reload