Install and Configure an HTTP Server (Apache)
Senior Vice President of Content
A web server is one of the more common services that you will work with in any Linux environment. In this activity, you will have an opportunity to install an Apache HTTP server and explore the core configuration options that are available. Once you complete the activity, you will have a good understanding of how Apache web services are configured and can be customized in your environment.
As your development organization continues to work on the new web-based API, they are getting to the point where they need to begin testing performance on an Apache web server.
You have been provided credentials and access information for (2) CentOS 7 servers, one labeled for use as an Apache Web Server and one intended to function as a client for testing. Once connected to the Apache web server, you will need to complete the package installation for the latest Apache web server in the standard repositories.
After the installation, locate the httpd.conf file. Within that file is a 'Options' directive that allows the Apache web server to follow filesystem symlinks by default. During testing, the software your team will be deploying may still contain inadvertant symlinks that point to files they do not want to be web accessible. The web services team may choose to override that default later after their product has undergone testing, but they would like the current default to not allow those symlinks.
Make the appropriate edit to the Apache configuration file and then enable and restart the HTTP service. Create a test 'index.html' file in the default web directory for Apache (see the configuration file for the location) and then, using the client system provisioned for you, install a text based web browser and access the remote Apache server by name or IP in order to test that your test file is served as expected. Once you have verified, you can turn your system over to the team for their use.