Implement an Apache Web Server with Perl CGI

1 hour
  • 8 Learning Objectives

About this Hands-on Lab

In this lab, we will install and configure an Apache server and then configure it for Perl and CGI access.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Install the Apache Web Server

Using the appropriate commands install the Apache Web Server.

Explore the default configuration

Examine the default apache configuration file.

Start and test the service and access the default site

Ensure the default Apache installation is working.

Install the appropriate packages for enabling Perl on our site

Using the appropriate commands setup and enable Perl.<p>
NOTE: To install mod_perl outside of the Hands-On Lab environment you may have to
install the epel repo.<br/>
On a Centos 7 system this can be done via <br/>
<b>yum -y install epel-release</b>

Enable the module configuration

Enable the module configuration on Apache.

Create a CGI directory for our scripts

Create the directory for use with CGI.

Add the CGI configuration to Apache

Update the Apache configuration for CGI.

Restart the Apache server and test the Perl CGI script

Test that the CGI setup has been successful.

Additional Resources

NOTE: To install mod_perl outside of the Hands-On Lab environment you may have to install the epel repo.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!