home
Table of Contents
Go Back to Class
Go Back to Class
next Learning Plan
Next Learning Plan
email
Email

 

Learning Plan 4
Apache

Network Administration 3 (150-123)

 

Thomas Olivotti

Learning Objectives:

1. Basic apache terminology and configuration.

2. Apache security.

3. Apache virtual hosts.

4. Cross-platform security using Kerberos.

Alias's

I learned to set up aliases in the image you will see that I set up 2 alias's myjournal, and sectest. You will also notice in the command prompt a list of aliases the system automaticaly makes depending on what programs are installed. Some of the ones listed are MRTG, NAGIOS, and NAGIOSGRAPGH. I have also provided a picture of the alias I altered for MRTG.

Click on Image

Click on Image

Click on Image

Click on Image

 

Virtual Hosts

I also set up some virtual hosts. There are two kinds of virtual hosts and in my screen shots you will see that I played with both "Name Based virtual hosts" and "IP Based virtual hosts." I have commented out my IP Based virtual hosts and decided to go with Name Based virtual hosts instead.

Kerboros Authentication

Here I set up a secure directory called topsecret. I then wanted to allow authentication through active directory. How I did this was by using Kerboros. This was pretty easy to do. The first thing I did was install mod_auth_kerb which allows Kerboros authentication.

Next I copied over the file auth_kerb.conf and renamed it to topsecret in the /etc/httpd/conf.d/ directory. I edited it so that my new paths and alias were the way I wanted.

Then I created the file auth_kerb.keytab file using the output from the echo command.

After all that was done I was ready to restart apache and try out my changes. By using my web browser and going to http://localhost/topsecret/ I was prompted for a username and password. I then authenticated using my administrator account through Active Directory and was able to see my Top Secret page.

Click on Image

Click on Image

Click on Image

Click on Image

Click on Image

© Copyright 2009. All rights reserved.