The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.
To configure an existing Apache HTTP server:
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
:#
mkdir -p /var/www/html/OSimage/OL6
Edit the HTTP server configuration file,
/etc/httpd/conf/httpd.conf
, and add a<Directory>
section, for example:<Directory "/var/www/html/OSimage/OL6"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory>
Place this section after the closing
</Directory>
statement for the<Directory
section.DocumentRoot
>NoteThe
Indexes
option is not required for installation. Specify this option if you want to be able to browse the directory hierarchy.