HP Open Source Middleware Stacks Blueprint: LAMP Architecture on HP ProLiant BladeSystem Servers on RHEL
3. Verify that the HTTPS support in Apache is enabled by navigating to the website at:
https://<YOUR_HOSTNAME>
The certificate is displayed as shown in Figure 4.
Figure 4 SSL-Enabled Apache
Apache HTTP Server Authorization
The Apache default document root is:
/var/www/html
A directory named test must exist in the document root directory. In the following sections,
access to the test directory is restricted, and that access to the directory for TESTNAME using
the password PASSWORD has been granted.
Creating an index.html File
Use the following procedure to create the index.html file:
1. Create the test HTML file:
/var/www/html/test/index.html
2. Add the following lines to the preceding file:
<HTML>
<HEAD></HEAD>
<BODY DIR="LTR">
<P ALIGN=CENTER STYLE="margin-bottom: 0cm">
<FONT FACE="Times New Roman, serif">
<FONT SIZE=6>The Authentication and Authorization worked !</FONT>
</FONT></P>
</BODY>
</HTML>
Configuring the Authorized Overrides
To authorize overrides, configure the httpd.conf file using the following steps:
1. Edit the /etc/httpd/conf/httpd.conf file:
2. Find the data item AllowOverride None in the preceding file.
22